[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [approve] ServerOptions-sampleRate default



Done. I also changed hardwareBufferSize in the same way for consistency. Again this should not break anything.

S.

On 4 Nov 2004, at 22:22, James McCartney wrote:

OK

On Oct 31, 2004, at 7:09 AM, Scott Wilson wrote:

Given the problem I had with this (see my post on the users list) perhaps it would be worth it to set the default for this to nil. I don't think this would be likely to break any code, and would prevent some potential bugs as nil would not work in any math. This would be functionally equivalent to the way things are now and only need a small change to asOptionsString. i.e.

<x-tad-smaller> if (sampleRate != 0, {
o = o ++ </x-tad-smaller><x-tad-smaller>" -S "</x-tad-smaller><x-tad-smaller> ++ sampleRate;
});
</x-tad-smaller>

would just be:

<x-tad-smaller> if (sampleRate.notNil, {
o = o ++ </x-tad-smaller><x-tad-smaller>" -S "</x-tad-smaller><x-tad-smaller> ++ sampleRate;
});</x-tad-smaller>


Any objections?

S._______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev