[alsa-devel] Moving X Window windows causes audio stuttering
![](https://secure.gravatar.com/avatar/21c96b641c1fea341bf8c485ee77eaf9.jpg?s=120&d=mm&r=g)
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?
![](https://secure.gravatar.com/avatar/5b19e9d0e834ea10ef75803718ad564b.jpg?s=120&d=mm&r=g)
At Tue, 19 Feb 2008 12:00:04 -0600, Timur Tabi wrote:
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
participants (2)
-
Takashi Iwai
-
Timur Tabi