On 5/9/07, Dave Robillard <drobilla@email-addr-hidden> wrote:
> Regarding the one sensible thing you /have/ said: is sample rate as a
> double sufficient, or is there a good reason for numerator/denominator
> (that outweighs the PITA for the plugin author)?
I'll play "dumb user" on this one...
Are there useful sample rates that can be expressed more accurately
with a pair of 32-bit integers than by a double?
If so, programmers who don't care about the extra accuracy could
presumably convert the ratio to a double in one line of code (at the
cost of a single division operation). That does not seem excessive,
assuming there are real-world examples where the extra accuracy
would help. Are there any?
-- joq _______________________________________________ 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 04:15:07 2007
This archive was generated by hypermail 2.1.8 : Thu May 10 2007 - 04:15:07 EEST