From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ac3 problems with the latest VIA8233 driver Date: Tue, 14 Jan 2003 16:03:12 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030114114856.GA29127@netppl.fi> <20030114134840.GA3065@netppl.fi> <20030114141137.GB3065@netppl.fi> <20030114142320.GC3065@netppl.fi> <20030114145546.GD3065@netppl.fi> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Tue_Jan_14_16:03:12_2003-1" Return-path: In-Reply-To: <20030114145546.GD3065@netppl.fi> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pekka Pietikainen Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Tue_Jan_14_16:03:12_2003-1 Content-Type: text/plain; charset=US-ASCII At Tue, 14 Jan 2003 16:55:46 +0200, Pekka Pietikainen wrote: > > On Tue, Jan 14, 2003 at 03:48:37PM +0100, Takashi Iwai wrote: > > At Tue, 14 Jan 2003 16:23:20 +0200, > > Pekka Pietikainen wrote: > > > > > > On Tue, Jan 14, 2003 at 03:16:47PM +0100, Takashi Iwai wrote: > > > > oops, sorry, use hw:0,0,3 instead. > > > Nothing comes out. Which might be the same problem as with ac3 output, > > > volume at 0 and no way to make it higher. > > > > ok, then try the attached patch and output hw:0,1. > which patch? ;) well, you get output with a big latency ;) --Multipart_Tue_Jan_14_16:03:12_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="via-spdif.dif" Content-Transfer-Encoding: 7bit Index: alsa-kernel/pci/via82xx.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/via82xx.c,v retrieving revision 1.17 diff -u -r1.17 via82xx.c --- alsa-kernel/pci/via82xx.c 13 Jan 2003 09:07:53 -0000 1.17 +++ alsa-kernel/pci/via82xx.c 14 Jan 2003 14:44:53 -0000 @@ -796,6 +796,7 @@ snd_ac97_set_rate(chip->ac97, AC97_PCM_FRONT_DAC_RATE, runtime->rate); snd_ac97_set_rate(chip->ac97, AC97_PCM_SURR_DAC_RATE, runtime->rate); snd_ac97_set_rate(chip->ac97, AC97_PCM_LFE_DAC_RATE, runtime->rate); + snd_ac97_set_rate(chip->ac97, AC97_SPDIF, runtime->rate); snd_via82xx_channel_reset(chip, viadev); outl((u32)viadev->table_addr, port + VIA_REG_OFFSET_TABLE_PTR); --Multipart_Tue_Jan_14_16:03:12_2003-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Tue_Jan_14_16:03:12_2003-1-- ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en