From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: optical SPDIF output on Abit NF7 nforce2 main board. Date: Wed, 03 Sep 2003 10:35:58 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3F532D5E.6040300@icem.com> <3F534D6A.5030706@icem.com> <3F535A42.6020403@icem.com> <3F536C97.5080008@icem.com> <3F538893.1010801@icem.com> <3F539A3E.3030508@icem.com> <3F54FE2C.9020208@icem.com> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3F54FE2C.9020208@icem.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Carsten Koch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 02 Sep 2003 22:31:40 +0200, Carsten Koch wrote: > > Takashi Iwai wrote: > ... > > looking at the nvidia's driver code, it seems that spdif on nforce > > supports only 48k in fact. > > i'll add the restriction on the driver side, then. > > could you try the attached patch? > > Sorry for the delay, I was travelling all day. > > I did apply your patch (to my old cvs version, still having > problems accessing sourceforge). > > It made matters better for mpg321 and worse for alsaplayer. > > "mpg321 -o alsa09 --audiodevice hw:0,1" still plays 44Khz sounds > too fast, as expected. note that it's correct behavior. hw layer doesn't do sample rate conversion. > > "mpg321 -o alsa09 --audiodevice plughw:0,1" now plays 44Khz sounds > correctly. Excellent! > > "alsaplayer -d hw:0,1" still plays 44Khz sounds too fast, as expected. > > "alsaplayer -d plughw:0,1" now issues the following error messages: > error on set_period_size (512) (snip) looks like a bug of alsaplayer. please specify sample rate 48000. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf