[alsa-devel] What are subdevices?
dE
de.techno at gmail.com
Tue Oct 28 04:17:26 CET 2014
On 10/28/14 01:16, Clemens Ladisch wrote:
> dE wrote:
>> typically cards have a single analog device but support multichannel
>> output. So how does this work at the software level? If ALSA can't
>> send multiple streams of audio to one device, then how does ALSA send
>> separate output to different channels of the device?
> The channels are not separate. For a stereo devices, the samples are
> arranged like LRLRLRLRLR...; for more channels, there are more
> interleaved values: 123456123456123456123456...
>
>
> Regards,
> Clemens
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
So it's with the encoding of the PCM.
Thank you so much for the response! I'll blog about this in my ALSA doc.
More information about the Alsa-devel
mailing list