Re: [linux-audio-dev] External audio interface (edirol FA/UA-101)

From: Jussi Laako <jussi.laako@email-addr-hidden>
Date: Fri Sep 30 2005 - 21:38:17 EEST

On Fri, 2005-09-30 at 10:39 +0200, Florian Schmidt wrote:
> i think the jack API garantees power of 2 size buffers to clients. So
> while jack itself might work, some clients that depend on a power of 2
> buffersize will fail horribly if something different is used.

Hmmh, at least the documentation didn't state anything like that a while
back (if I remember correctly). And at least my applications won't
expect anything about the buffer size.

In fact when using sample rate converted ports (some of my experimental
stuff) it may not be even same size for all callbacks. But hey, that's
why there's period size argument passed to the callback, IMO.

Converting the buffer size on application side to some specific 2^x is
anyway needed when doing FFT or similar.

There may be applications or hardware passing something other than 2^x
buffers for example because it's some specific length in milliseconds,
etc.

-- 
Jussi Laako <jussi.laako@email-addr-hidden>
Received on Sat Oct 1 00:15:05 2005

This archive was generated by hypermail 2.1.8 : Sat Oct 01 2005 - 00:15:06 EEST