Skip to contentSkip to conversation

: Heavily distorted audio

ALSA - driver 0001044 [email protected] 1 participant 1 message Apr 12, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1044>
======================================================================
Reported By: jefferai
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1044
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.11-ck3
======================================================================
Date Submitted:             04-11-2005 17:41 CEST
Last Modified:              04-12-2005 18:39 CEST

======================================================================
Summary: Heavily distorted audio
Description:
I have a laptop that is fine by itself, but when plugged into my docking station I get heavily distorted audio when something plays either directly to hw0:0 or through the OSS emulation. The problem seems to be with sample rate conversion -- if I create my own dmix-based device that resamples audio to 48KHz and then plays it to hw0:0, and I have an ALSA-aware app that lets me define which device to use and set it to that device, the audio is beautiful both on and off of the docking station. Unfortunately, not all apps allow these settings, so things such as RealPlayer and Flash (in Firefox) sound horrid if I'm on my docking station, which is most of the time.

I've seen this same problem through three Linux distributions now (Gentoo, SuSE, and Fedora Core 3) on the same laptop so I know it's an ALSA issue (or configuration issue) and not distribution-specific.

I've hard-set the ac97 clock option in the snd-intel8x0 module to 48000 but this
doesn't help, and my clock is detected as being 48000Hz anyways. I don't know what to do. Some people have said to point OSS apps to /dev/adsp but apps complain it's not a valid device, and anyways pointing to anything but /dev/dsp doesn't seem to be an option for all apps. Besides, I'd still have the ALSA issues for apps that don't let you define which device to use.

Following are relevant snippets of files. I'm on up-to-date Gentoo linux using the Gentoo alsa-driver, alsa-tools, alsa-headers, alsa-lib, and alsa-oss ebuilds, all 1.0.8. Configuration files are the defaults (I added the extra device with a .asoundrc).

TIA,
Jeff
======================================================================

----------------------------------------------------------------------
jefferai - 04-12-05 18:13
----------------------------------------------------------------------
Will do. I'm recompiling at the moment, although I'll be unable to test it out until later. I'll post results at that time. I'm using Gentoo sources...alsa-lib, alsa-driver, alsa-headers are the only ones with 1.09rc2 available. Will this be enough to see if 1.09rc2 fixes my problem, or am I going to need to build the whole alsa set from stock sources?

----------------------------------------------------------------------
tiwai - 04-12-05 18:39
----------------------------------------------------------------------
Both alsa-driver and alsa-lib must be updated to the same version. Especially, 1.0.9rc2 alsa-lib might lead to a kernel Oops with the older alsa-driver. alsa-utils can be kept old, though.

Issue History
Date Modified Username Field Change
======================================================================

04-11-05 17:41 jefferai       New Issue                                    
04-11-05 17:41 jefferai       Distribution              => Gentoo          
04-11-05 17:41 jefferai       Kernel Version            => 2.6.11-ck3      
04-12-05 16:32 tiwai          Note Added: 0004448                          
04-12-05 18:13 jefferai       Note Added: 0004457                          
04-12-05 18:39 tiwai          Note Added: 0004458                          

======================================================================

-------------------------------------------------------
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