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. **