All of lore.kernel.org
 help / color / mirror / Atom feed
* Interleaved or Non-interleaved?
@ 2012-10-18  8:34 Prasant J
  2012-10-18  9:11 ` Clemens Ladisch
  2012-10-18  9:57 ` Prasant J
  0 siblings, 2 replies; 3+ messages in thread
From: Prasant J @ 2012-10-18  8:34 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interleaved or Non-interleaved?
  2012-10-18  8:34 Interleaved or Non-interleaved? Prasant J
@ 2012-10-18  9:11 ` Clemens Ladisch
  2012-10-18  9:57 ` Prasant J
  1 sibling, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2012-10-18  9:11 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Interleaved or Non-interleaved?
  2012-10-18  8:34 Interleaved or Non-interleaved? Prasant J
  2012-10-18  9:11 ` Clemens Ladisch
@ 2012-10-18  9:57 ` Prasant J
  1 sibling, 0 replies; 3+ messages in thread
From: Prasant J @ 2012-10-18  9:57 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-18  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18  8:34 Interleaved or Non-interleaved? Prasant J
2012-10-18  9:11 ` Clemens Ladisch
2012-10-18  9:57 ` Prasant J

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.