[alsa-devel] [ISSUE] crackles and clicks
LANGLOIS Olivier PIS -EXT
olivier.pis.langlois at transport.alstom.com
Mon Jan 13 17:32:30 CET 2014
> At Mon, 13 Jan 2014 09:34:04 +0100,
> Eric F wrote:
> > Hello,
> > I tried my DAC (Tenor TE8802 chipset) in USB on Archlinux (LTS 3.10.26).
> > I can hear regularly crackles ans clicks.
> > I've tried all available USB ports, other kernels (3.12.6, 3.12.7),
> > other distro (ubuntu), without luck...
> > The DAC is Teac UD-H01.
> > here is lsusb verbose : http://ix.io/9Q4
> > Feel free to ask for more precisions, I'll give you all you need.
> Which program / sound backend did you test? Do the crackles happen with
> the plain "aplay -Dplughw foo.wav", too?
If this can help in the investigation of your problem, I can experience crackles and clicks during pcm playback on my small hpmini notebook. I have kinda nailed down the source of the crackles and clicks.
It turns out that when my Wifi card is on but not connected, I have the crackles and clicks. If I connect to a Wifi network or close the Wifi, the crackles and clicks go away. I have not had the time check the Wifi driver code yet but my explanation of the behavior is that in that specific state, some wifi IRQ handler is taking too much time and stop my sound device irqs to be timely serviced.
My advice, is try to unload as much as possible kernel driver modules that may interfere with your audio playback and see if your crackles and clicks go away. For reference, here is my HW, in case you have the same Wifi Adapter....
00:1b.0 Audio device : Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: Hewlett-Packard Company Device [103c:1584]
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at 96200000 (64-bit, non-prefetchable) [size=16K]
Capabilities:  Power Management version 2
Capabilities:  MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities:  Express Root Complex Integrated Endpoint, MSI 00
Capabilities:  Virtual Channel
Capabilities:  Root Complex Link
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.0 Network controller : Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:1629]
Flags: bus master, fast devsel, latency 0, IRQ 16
I/O ports at 3000 [size=256]
Memory at 95000000 (64-bit, non-prefetchable) [size=16K]
Capabilities:  Power Management version 3
Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities:  Express Endpoint, MSI 00
Capabilities:  Advanced Error Reporting
Capabilities:  Virtual Channel
Capabilities:  Device Serial Number 01-91-81-fe-ff-4c-e0-00
Kernel driver in use: rtl8192ce
Kernel modules: rtl8192ce
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
More information about the Alsa-devel