aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-23 20:11:28 +0200
committerMax Kellermann <max@duempel.org>2008-10-23 20:11:28 +0200
commitec37633f1ceb43487a79513af625e1e43da3ffc7 (patch)
tree4b86599fbf7c312c2a84c9d00efef70c0607a28a /src/player_thread.c
parent98e4817548ab18a696defb1db6bd74eafc3b7998 (diff)
downloadmpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.tar.gz
mpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.tar.xz
mpd-ec37633f1ceb43487a79513af625e1e43da3ffc7.zip
pcm_utils: generic pcm_convert_size() implementation
The old pcm_convert_size() ignored most of the destination format, e.g. it did not check its sample size, and assumed it is 16 bit. Simplify and universalize it by using audio_format_frame_size().
Diffstat (limited to 'src/player_thread.c')
0 files changed, 0 insertions, 0 deletions