All of lore.kernel.org
 help / color / mirror / Atom feed
From: dE <de.techno@gmail.com>
To: Alsa-devel@alsa-project.org
Subject: Re: What are subdevices?
Date: Sun, 26 Oct 2014 15:27:32 +0530	[thread overview]
Message-ID: <544CC58C.3080800@gmail.com> (raw)
In-Reply-To: <544CBACF.2080702@ladisch.de>

On 10/26/14 14:41, Clemens Ladisch wrote:
> dE wrote:
>> A device seems like the output streams the sound card supports. Like HDMI, DP, analog etc...
>>
>> So what's a subdevice?
> A subdevice is an output streams the sound card supports.
>
> Typically, a device has multiple subdevices if the card supports hardware mixing; all
> the subdevices end up at the same physical output.
>
>
> Regards,
> Clemens

Ok, so a device list is a list of different streams the card can 
supports simultaneously and they'll be output via different channels 
without mixing.

Thanks for clarifying this.

But, 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?

Is the PCM sent to the sound card codified? Is this the same way how 
stereo work?

  reply	other threads:[~2014-10-26  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26  8:14 What are subdevices? dE
2014-10-26  9:11 ` Clemens Ladisch
2014-10-26  9:57   ` dE [this message]
2014-10-27 18:02     ` dE
2014-10-27 19:46     ` Clemens Ladisch
2014-10-28  3:17       ` dE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=544CC58C.3080800@gmail.com \
    --to=de.techno@gmail.com \
    --cc=Alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.