Skip to contentSkip to conversation

Moving X Window windows causes audio stuttering

DISCUSSION Timur Tabi 2 participants 2 messages Feb 19, 2008 – Feb 20, 2008

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

On our system, using mplayer to play a movie that has 44.1KHz audio (hardware only supports 48KHz) can cause audio stuttering if we're using OSS emulation, but not if we're using native ALSA. Is this a known problem? Does OSS emulation hog the CPU?

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#1 lore raw

At Tue, 19 Feb 2008 12:00:04 -0600,

Quoted 5 lines · Timur Tabi

On our system, using mplayer to play a movie that has 44.1KHz audio (hardware only supports 48KHz) can cause audio stuttering if we're using OSS emulation, but not if we're using native ALSA. Is this a known problem? Does OSS emulation hog the CPU?

It won't as long as you do right :)

Mostly this kind of problem is the difference of parameters. Try to reproduce the playback with the same parameters used by OSS emulation (you can see /proc/asound/card0/pcm*/sub*/hw_params) with ALSA API.

Takashi