diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-16 16:52:06 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-16 16:52:06 +0000 |
commit | 3c8e88b053e901de804a7d38f709056444155161 (patch) | |
tree | 89399b629b5e0dd6d76239fec764997d4716a7f8 /src/audio.c | |
parent | b59aa757205b2dc330d7864d88381c67beefb254 (diff) | |
download | mpd-3c8e88b053e901de804a7d38f709056444155161.tar.gz mpd-3c8e88b053e901de804a7d38f709056444155161.tar.xz mpd-3c8e88b053e901de804a7d38f709056444155161.zip |
audioOutput_alsa: calculate period size from sample rate
... instead of hard-coding it to a ridiculously high value that
makes bandwidth-starved devices unhappy.
libao (in SVN) does the same thing, and this calculation was indeed
taken from it.
Low-bandwidth USB (1.1) sound devices seem to need this to prevent
underrun / broken pipe errors (during hw setup, no less) from being
triggered.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4362 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions