Re: [LAD] [ANN] LV2 beta3

From: Jack O'Quin <jack.oquin@email-addr-hidden>
Date: Thu May 10 2007 - 03:51:53 EEST

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-dev
Received 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