[pulseaudio-discuss] Few questions about PA API

Raymond Yau superquad.vortex2 at gmail.com
Sun Apr 13 16:39:18 PDT 2014


> - Is it possible to write non-interleaved data?
> For example, for stereo instead of
> L R L R L R L R... samples
> to write:
> L L L L L .... R R R R R.... samples

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/alsa-util.c

It seem that pulseaudio does not support non-interleaved sound card since
it is  hard code to use SND_PCM_ACCESS_RW_INTERLEAVED or
SND_PCM_ACCESS_MMAP_INTERLEAVED

Even if the card support snd_pcm_rewind,  pulseaudio may need to rewind in
multiples of period only instead of any arbitrary size
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140414/09a9f291/attachment.html>


More information about the pulseaudio-discuss mailing list