From: Takashi Iwai Subject: Re: Selecting correct input device port. Date: Wed, 29 Oct 2014 08:36:10 +0100 Message-ID: References: <544F1B26.2070502@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 6DC502604A2 for ; Wed, 29 Oct 2014 08:36:10 +0100 (CET) In-Reply-To: <544F1B26.2070502@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: dE Cc: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 28 Oct 2014 09:57:18 +0530, dE wrote: > > As I learn't in this mailng list, a device can typically handle only one > stream at a time unless it supports hardware mixing which's exposed via > subdevices in ALSA > > What does subdevice mean for input device? When a device can do multiplexing, the driver can give multiple substreams (= subdevices). > Do they mark physical ports > for input? If not how do I record from a specific input port? You can pass the subdevice number explicity. It's -1 as default, which means to select the next free one. > Is it > automatically selected by the card? > > And what's 'input source' in ALSA mixer? It's usually a MUX to select the input source, e.g. line in or mic. Takashi