On 5/9/07, Dave Robillard <drobilla(a)connect.carleton.ca> 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