aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/flac_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-24 01:38:51 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-24 01:38:51 +0000
commit24c1f46353213e3392b542a6c3655bcd215e7c63 (patch)
tree3883017b6bfa547a68ae982891cbd479ce9a0e57 /src/inputPlugins/flac_plugin.c
parent76528555dc4878df61d677534964927385670249 (diff)
downloadmpd-24c1f46353213e3392b542a6c3655bcd215e7c63.tar.gz
mpd-24c1f46353213e3392b542a6c3655bcd215e7c63.tar.xz
mpd-24c1f46353213e3392b542a6c3655bcd215e7c63.zip
audioOutput_alsa: better period_size auto-configuration
We'll try setting an initial value of 50ms, and halve it each time snd_pcm_hw_params fails with -EPIPE. This way we'll can use a larger (50ms) period_size whenever a device supports it, and automatically pick smaller ones if we can't set larger ones. This removes the calculation borrowed from libao (svn) as well. Other minor things: "Alsa" => "ALSA" in error messages _US appended to *_TIME constants so we won't get confused (shank's request) git-svn-id: https://svn.musicpd.org/mpd/trunk@4438 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/flac_plugin.c')
0 files changed, 0 insertions, 0 deletions