On Fri, 2007-05-11 at 14:55 +0200, Robin Gareus wrote:
Dave Robillard wrote:
Can we figure out this sample rate thing before this gets really
ugly? :)
Please use rational values. Hardly anyone ever resamples to an
irrational number and it's also needed to do proper A/V sync.
That sounds like a good argument for two ints to me. Although you'd have
to do a lot better than double if you wanted to represent irrational
numbers in binary form. =)
(NaN and Inf doesn't count)
--ll