Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
[opensuse] Sound dropouts with Pulseaudio
Hash: SHA1

On 20 Dec 2013, in Message-id:
<52B480E3.5020108@xxxxxxxxxxxxxxxxxxxxx> I complained about
intermittent sound dropouts on my system.

At the time, I blamed Pulseaudio, but I may have been wrong ...

I started by completely removing PA from my system (not just disabling
it), but though the problem improved, it didn't go away completely.
That seemed to exonerate PA, even if having it installed aggravated
the underlying problem. So I reinstalled PA.

I listen to my music through Music Player Daemon (MPD), so the next
thing was to try another player. MPlayer behaved flawlessly, even
through PA, so that pointed the finger at MPD. I monitor my computer
with gkrellm, and I noticed that there was very little disk activity
during playback with MPlayer, whereas MPD reads data from the disk in
262k chunks. Maybe a buffer somewhere is being emptied faster than it
fills when using MPD, compared to MPlayer.

MPD's configuration file has an entry

#buffer_before_play "10%"

so I uncommented this line, and increased the value to 20%.

buffer_before_play "20%"

So far, so good, music is playing perfectly.

I realise that other people who've experienced similar problems with
sound may not be using MPD, but this may help them find a similar
solution in their setup.

- --
Bob Williams
System: Linux 3.11.6-4-desktop
Distro: openSUSE 13.1 (x86_64) with KDE Development Platform: 4.12.1
Uptime: 18:00pm up 3:13, 3 users, load average: 0.38, 0.39, 0.48
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups