From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc. Date: Thu, 31 Oct 2002 11:40:42 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3DC072E0.7060608@cucumelo.org> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3DC072E0.7060608@cucumelo.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Benny Sjostrand Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 31 Oct 2002 01:01:36 +0100, Benny Sjostrand wrote: > > Hi! > > Once again, updated cs46xx patch. > So, here's a attempt to move stuff from snd_cs46xx_playback_prepare(...), > to snd_cs46xx_hw_params(...), thing works, but I dont like the aproach, > the main reason is that snd_cs46xx_hw_params(...) is not a good place > for adjusting the sample rate. I've noticed that some OSS applications > the hw_params is called upto 3 times, and I've found a way to find > out when actually the sample rate is set to the value the application > is going to proceed with. thanks, applied to cvs now. basically, prepare may be called also mutliple times by OSS emulation, so the situation is identical. on OSS, you _have to_ change the rate many times. Takashi ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en