From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: snd-emu10k1x samplerate capabilities Date: Wed, 29 Dec 2004 14:10:33 +0100 Message-ID: References: <1104180478.4396.5.camel@paranoia> <0F97F0E8-5998-11D9-9928-000D93353726@nittionio.nu> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <0F97F0E8-5998-11D9-9928-000D93353726@nittionio.nu> 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: Daniel Svensson Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 29 Dec 2004 13:49:21 +0100, Daniel Svensson wrote: > > > On 2004-12-29, at 13.16, Takashi Iwai wrote: > > > At Mon, 27 Dec 2004 20:47:58 +0000, > > Daniel Svensson wrote: > >> > >> The snd-emu10k1x driver accepts samplerates that the hardware is not > >> capable of handling. > >> > >> rate = 44100; > >> err = snd_pcm_hw_params_set_rate_near (pcm, hwparams, &rate, NULL); > >> > >> err should be less than zero if the requested rate is 44100, or the > >> rate > >> should be set to 48000. As it's handled now when that line is executed > >> the samplerate is set to 44100 and sound is broken. > > > > I still don't find out the bug in emu10k1x.c. > > Which version? Which PCM name did you use? > Well, I used latest from CVS the 29:th of december. This problem > existed 6 months ago but of some reason I didn't repport it then. > I'm not very familiar with alsas huge codebase so I haven't had a look > at it. OK the version look fairly new. Could you check /proc/asound/card0/pcm0p/sub0/hw_params (and other files there) during playback? This will show the real setting currently running. If it shows 44.1kHz, there must be a bug in the driver side... Takashi ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/