[linux-audio-dev] Channels and best practice

James McDermott jamesmichaelmcdermott at gmail.com
Tue Nov 15 11:58:46 UTC 2005


> What are your thoughts? What is best practice on multichannel audio, or
> is it always application-specific?

According to my experience and understanding:

-non-interleaved (multiple channels in separate arrays) is a bit
easier to code, but
-interleaved could give better performance (because the data you need
"now" is all close together in memory).
-libsndfile uses interleaved.
-plugins (DSSI, LADSPA) use separate arrays.

I'm not qualified to talk about best practice, so take with a pinch of salt...




More information about the Linux-audio-dev mailing list