[alsa-devel] Moving X Window windows causes audio stuttering
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?
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