2007/5/10, Dave Robillard <drobilla@email-addr-hidden>:
> Regarding the one sensible thing you /have/ said: is sample rate as a
> double sufficient, or is there a good reason for numerator/denominator
using a double as samplerate is highly undesirable, because for
example someone might want to test for specific samplerates, like
if ( samplerate == 44100) { ... }
And this cannot be done with a float value with the necessary "exactness". ;-)
I do support the proposal to use two integer values.
Cheers
-Richard
-- Are you teaching the What and the How but without the Why and the When? _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-devReceived on Thu May 10 12:15:03 2007
This archive was generated by hypermail 2.1.8 : Thu May 10 2007 - 12:15:04 EEST