mpd/src/audioOutputs
Eric Wong 24c1f46353 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
2006-07-24 01:38:51 +00:00
..
audioOutput_alsa.c audioOutput_alsa: better period_size auto-configuration 2006-07-24 01:38:51 +00:00
audioOutput_ao.c Add mpd-indent.sh 2006-07-20 18:53:56 +00:00
audioOutput_fifo.c Renaming stat struct to st, for consistency with the rest of mpd 2006-07-23 23:12:44 +00:00
audioOutput_mvp.c Add mpd-indent.sh 2006-07-20 18:53:56 +00:00
audioOutput_oss.c Add mpd-indent.sh 2006-07-20 18:53:56 +00:00
audioOutput_osx.c Add mpd-indent.sh 2006-07-20 18:53:56 +00:00
audioOutput_pulse.c #include <string.h> in PulseAudio output for correctness 2006-07-20 19:39:46 +00:00
audioOutput_shout.c Add mpd-indent.sh 2006-07-20 16:02:40 +00:00