num/denom v's double (was: Re: [LAD] [ANN] LV2 beta3)
Jens M Andreasen
jens.andreasen at comhem.se
Sat May 12 09:52:54 UTC 2007
On Fri, 2007-05-11 at 21:37 +0200, Fons Adriaensen wrote:
> ??? In the current spec the sample rate is an integer. JACK and ALSA
> will give you an integer. Just set the denominator to 1 if your host
> runs all plugins at the normal sample rate, as most will do.
>
Given the function f(a,b), where most people would only need to bother
about f(a), we could do:
#define f(a) f2(a,1)
So there you have it. In this case it really is possible to both eat
your cake and keep it.
The friendly one-page skeleton pass-thru demo will not mention the
second parameter, but it will be documented in the man page.
> ** That's really all there is to it. **
More information about the Linux-audio-dev
mailing list