From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000782]: Poor digital aidio quality Date: Wed, 9 Mar 2005 03:02:59 +0100 Message-ID: <440d9df912c8b1942ac57ac8ef857a1b@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id BAB0B173 for ; Wed, 9 Mar 2005 03:02:59 +0100 (MET) 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: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: ddemmer Assigned To: fmoraes ====================================================================== Project: ALSA - driver Issue ID: 782 Category: PCI - emu10k1x Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Fedora Core Kernel Version: 2.6.9-1.681_FC3.i686 ====================================================================== Date Submitted: 01-03-2005 16:20 CET Last Modified: 03-09-2005 03:02 CET ====================================================================== Summary: Poor digital aidio quality Description: Attempting to play MP3 files with RealPlay or xmms using ALSA output results in scratchy, erratic, slow (Realplay) or speeded up (xmms) sound. I can change the xmms configuration to use libOSS.so instead of libALSA which fixes the problem. The gnome "Detect Sound Card" utility works fine and plays it's sound fine. The gnome volume control does not affect the output level when using libOSS. I have by now muted everything in the alsamixer except the Master volume. Playing a CD works fine. ====================================================================== ---------------------------------------------------------------------- ddemmer - 01-23-05 04:52 ---------------------------------------------------------------------- Thanks for the comments, folks. It is looking like things are wandering away from the original complaint, so I suppose I could be persuaded to drop this as a bug report. However, I do have some issues outsanding, though they're getting to the point more of satisfying my curiosity. Anyway, in answer to tiwai, I see the definition of plughw:0,0 in /etc/alsa/alsa.conf but I don't see a way to get xmms to use it, so I can't try that. In answer to fmoraes 22 Jan 05 comment: I agree, and I have been trying to go through the ALSA web site to get the dmix set up. I'm not sure if it's working though: Rhythmbox no longer complains on starting up, but xmms does. xmms will play once you clear the error. However, xmms is still garbled if I use the default PCM device: only hw:0,0 works. Realplay now doesn't work at all. xmms and Rhythmbox lock each other out -- if dmix was working should they both be able to play at the same time? My .asoundrc now looks like this: pcm.emu10k1x { type hw card 0 } ctl.emu10k1x { type hw card 0 } pcm.emu10k1x { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1024 slave { pcm "hw:1,0" period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.dmixer { type hw card 0 } Is this right? Also, is there a quick way to try it out -- right now I am rebooting to be sure it "takes", which limits my eagerness to experiment. When I try to use aplay as suggested in the ALSA pages to test with an mp3 file I just get screeching. And finally: please let me know if this is getting too far off the mark and should take my questions to some other forum. ---------------------------------------------------------------------- fmoraes - 03-09-05 03:02 ---------------------------------------------------------------------- Sorry for the delay. Here's my .asoundrc: pcm.dmixer { type dmix ipc_key 1024 # must be unique! slave { pcm "hw:0,0" # you cannot use a "plug" device here, darn. #period_time 0 period_size 1024 # must be power of 2 buffer_size 8192 # dito. It #format "S32_LE" #periods 17 # dito. #rate 8000 # with rate 8000 you *will* hear, # if ossmix is used :) } # bindings are cool. This says, that only the first # two channels are to be used by dmix, which is enough for # (most) oss apps and also lets multichannel chios work # much faster: bindings { 0 0 # from 0 => to 0 1 1 # from 1 => to 1 } } pcm.dsp0 { type plug slave.pcm "dmixer" # use our new PCM here } # mixer0 like above ctl.mixer0 { type hw card 0 } pcm_slave.buffer_size { pcm "hw:0,0" buffer_size 8192 period_size 1024 } pcm.!default { type plug slave.pcm "dmixer" } Your configuration seems to be using the wrong device (hw:1,0 which seems incorrect to me). You could use hw:0,1 instead if you play with the mixer controls (one of the controls lets you control the second channel and its volume). If you agree, we should close this report. Issue History Date Modified Username Field Change ====================================================================== 01-03-05 16:20 ddemmer New Issue 01-03-05 16:20 ddemmer Distribution => Fedora Core 01-03-05 16:20 ddemmer Kernel Version => 2.6.9-1.681_FC3.i686 01-03-05 16:49 stransky Issue Monitored: stransky 01-04-05 13:43 ddemmer Issue Monitored: ddemmer 01-04-05 13:43 ddemmer Issue End Monitor: ddemmer 01-16-05 14:57 fmoraes Note Added: 0003217 01-16-05 20:43 ddemmer Note Added: 0003221 01-19-05 18:34 ddemmer Note Added: 0003310 01-19-05 20:45 tiwai Note Added: 0003317 01-22-05 23:29 fmoraes Note Added: 0003383 01-23-05 04:52 ddemmer Note Added: 0003386 03-09-05 03:02 fmoraes Note Added: 0003822 ====================================================================== ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click