From mboxrd@z Thu Jan 1 00:00:00 1970 From: dE Subject: Re: What are subdevices? Date: Mon, 27 Oct 2014 23:32:23 +0530 Message-ID: <544E88AF.8090705@gmail.com> References: <544CAD55.8070605@gmail.com> <544CBACF.2080702@ladisch.de> <544CC58C.3080800@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by alsa0.perex.cz (Postfix) with ESMTP id F17372614BF for ; Mon, 27 Oct 2014 19:02:55 +0100 (CET) Received: by mail-pd0-f174.google.com with SMTP id p10so6096186pdj.33 for ; Mon, 27 Oct 2014 11:02:54 -0700 (PDT) Received: from [192.168.1.2] ([59.89.143.167]) by mx.google.com with ESMTPSA id ot8sm11460456pbc.1.2014.10.27.11.02.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Oct 2014 11:02:53 -0700 (PDT) In-Reply-To: <544CC58C.3080800@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 10/26/14 15:27, dE wrote: > 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? No one knows?