[alsa-devel] Interleaved or Non-interleaved?
hi,
My sound hardware supports only interleaved audio.
I'm writing an alsa application. Which access method will be more performing : interleaved or non-interleaved? (Or it does not make a difference?)
-Prasant
Prasant J wrote:
My sound hardware supports only interleaved audio.
I'm writing an alsa application. Which access method will be more performing : interleaved or non-interleaved?
With interleaved, samples can be copied from/to your application's buffer in one big block. With non-interleaved, samples must be copied individually.
Regards, Clemens
On Thu, Oct 18, 2012 at 2:04 PM, Prasant J pj0585@gmail.com wrote:
hi,
My sound hardware supports only interleaved audio.
I'm writing an alsa application. Which access method will be more performing : interleaved or non-interleaved? (Or it does not make a difference?)
-Prasant
@Clemens: What I wanted to know : right now my application is doing the audio sample demux/separation (capture) & mux (playback), because I my access method is interleaved. Will I get any performance benefit if I access in non-interleaved method ad let alsa do the work?
-Prasant
participants (2)
-
Clemens Ladisch
-
Prasant J