From: Takashi Iwai Subject: Re: Multistreaming Playback using Front Panel Headphone with realtek codec Date: Tue, 10 May 2011 09:11:47 +0200 Message-ID: References: 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 4E5E91038BD for ; Tue, 10 May 2011 09:11:52 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: ALSA Development Mailing List List-Id: alsa-devel@alsa-project.org At Tue, 10 May 2011 14:42:45 +0800, Raymond Yau wrote: > > 2011/5/9 Takashi Iwai > > > At Sat, 7 May 2011 11:48:19 +0800, > > Raymond Yau wrote: > > > > > > 2011/5/6 Takashi Iwai > > > > > > > > > > > > > > > > > Use "Independent HP" just because patch_via.c already used it so it > > is > > > > > better to use a standard name for all hda codecs > > > > > > > > Yeah, I know. But this name is confusing, so better to change in > > > > patch_via.c as well. > > > > > > > > > > > > Takashi > > > > > > > > > > To force pulseaudio to get the correct subdevice for via codec, you may > > need > > > to add "subdevice 0" to HDA-intel.conf > > > > > > since subdevice 0 support multichannel but subdevice 1 only support > > stereo > > > > > > > > > playback.pcm { > > > type softvol > > > slave.pcm { > > > type hw > > > card $CARD > > > + subdevice 0 > > > } > > > control { > > > name "PCM Playback Volume" > > > card $CARD > > > } > > > } > > > > OK, fixed now. Thanks. > > > > > > Takashi > > > > But dmix still fail and you cannot use dmix with subdevice 1 Please elaborate. You can use dmix with subdevice 1 when you write your own config. "front" definition is not for other but the primary device. It's no definition for every output device. > >> I'd name it differently, e.g. "Headphone Stream Mode" taking "Slave" and > "Independent", or such. An enum with "ON" and "OFF" is no sensible choice. > > The main point is how can the user find out which subdevice or device is > used for "Headphone Stream" > > Neither "aplay -l " nor "aplay -L' provide any useful information to the > user Yeah, because there is no standard definition for such streams. We need to start from defining it at first. Takashi