Tip

Fix USB audio problems like sputtering or glitching

When I started doing pro audio on my PC, I became obsessed with the idea of having as pure a digital stream from the PC to the speakers as possible. I bought an outboard USB amplifier—a Yamaha AP-U70—which appears to Windows as a standard USB audio device and supports up to 24-bit, 96kHz audio.

Since then, USB audio has become less of a specialty item; I now see USB-audio dongles that let you send a bitstream from a notebook's USB port to an outboard amplifier, among other things.

But one problem consistently reported with USB audio is sputtering or glitching—audio playback riddled with clicks and pops that are signs of the bitstream being interrupted. This problem can even appear in Windows Vista, where there are many kernel-level enhancements to ensure quality of service for timing-criticial applications such as audio.

There are two basic reasons why USB audio can behave like this. Both are hardware-related.

  • The PCI latency timer setting in BIOS is too high. However, not all BIOSes have this setting exposed as a feature. On my computer, which uses a Tyan-brand motherboard with an AMI BIOS, the PCI latency timer can be set as low as 32 clock cycles. Too high a latency timer means the USB controller doesn't have adequate time to send signals across the PCI bus, so the sound comes out broken up.
  • The USB audio device is plugged into a USB port which other devices share, and these devices are making aggressive

    Requires Free Membership to View

  • use of the USB bus.

One way to find out if you're sharing the audio with other devices is to open the Device Manager, view resources by connection and drill down for the audio device among the USB host controllers enumerated there. If it's on a hub or controller with other devices, try unplugging it and moving it to another bus. Note: Plugging an audio device into an external hub may cause this problem.

On my computer, I got the best results by plugging the audio into a USB 1.1 bus that had no other devices attached to it. The audio device was itself 1.1, so I wasn't devoting a 2.0 bus to something that wouldn't even make full use of it.

To be certain that the devices were re-enumerating correctly, I deleted all references to USB devices and controllers from the system while in Safe Mode, rebooted and let the system re-detect everything, then added the audio after a second reboot.

About the author: Serdar Yegulalp is editor of the  Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

More information on this topic:

This was first published in March 2007

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.