All of lore.kernel.org
 help / color / mirror / Atom feed
* SOC that needs L/R data in separate buffers
@ 2012-11-28  4:13 jonsmirl
  2012-11-28 10:13 ` Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: jonsmirl @ 2012-11-28  4:13 UTC (permalink / raw)
  To: alsa-devel mailing list

Is there a format in ALSA for hardware that wants the L/R stereo data
in two different buffers and not inter-leaved? Hardware has two DMA
channels into separate FIFOs for L/R.

If not I guess I have to unpack it inside the device driver. Doing
that will mess up mixing since ALSA won't know where the real DMA
buffer is.

FIFOs are only four samples deeps so that's probably too many
interrupts/sec to do programmed IO when FIFO is half full.


--
Jon Smirl
jonsmirl@gmail.com

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

* Re: SOC that needs L/R data in separate buffers
  2012-11-28  4:13 SOC that needs L/R data in separate buffers jonsmirl
@ 2012-11-28 10:13 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2012-11-28 10:13 UTC (permalink / raw)
  To: jonsmirl@gmail.com; +Cc: alsa-devel mailing list, Mark Brown

On 28/11/12 04:13, jonsmirl@gmail.com wrote:
> Is there a format in ALSA for hardware that wants the L/R stereo data
> in two different buffers and not inter-leaved? Hardware has two DMA
> channels into separate FIFOs for L/R.
>

asound.h lists all the supported data formats and we have 
SNDRV_PCM_ACCESS_RW_NONINTERLEAVED for non interleaved hardware.

Regards

Liam

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

end of thread, other threads:[~2012-11-28 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  4:13 SOC that needs L/R data in separate buffers jonsmirl
2012-11-28 10:13 ` Liam Girdwood

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.