• Eric Wong's avatar
    audioOutput_alsa: better period_size auto-configuration · 24c1f463
    Eric Wong authored
    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
    24c1f463
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...