Re: num/denom v's double (was: Re: [LAD] [ANN] LV2 beta3)

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Sat May 12 2007 - 12:52:54 EEST

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Sat May 12 16:15:01 2007

This archive was generated by hypermail 2.1.8 : Sat May 12 2007 - 16:15:01 EEST