From: Sasha Khapyorsky Subject: Re: [conf patch] modem's pcm "two device" config [was: Re: Mo' better modem support] Date: Tue, 13 Sep 2005 17:35:21 +0300 Message-ID: <20050913143520.GA31269@sashak.softier1.local> References: <20050905232951.GG20428@sashak.softier1.local> <20050907160343.GA3375@sashak.softier1.local> <20050912002746.GA31233@tecr> <20050912221018.GA19713@tecr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: Content-disposition: inline Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On 11:34 Tue 13 Sep , Takashi Iwai wrote: > At Tue, 13 Sep 2005 01:10:18 +0300, > Sasha Khapyorsky wrote: > > > > On 19:49 Mon 12 Sep , Takashi Iwai wrote: > > > > > > > > Applied. Thanks. > > > > > > Well, I found that this might not work (still not tested, though) > > > since the controls are usually defined with index 1, as noted in my > > > earlier post. (It's because the modem codec is in ac97.num=1) > > > > And card index is usually 1 as well (first card is excluded in drivers). > > It's irrelevant. The hook PCM opens the corresponding control > device. The card number is obtained from snd_pcm_info_get_card(). > i.e. it assumes that the slave PCM is a hw. Hmm, why does it work then (tested) in both old and new variants? Sasha. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf