aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/flac_pcm.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-08 23:47:32 +0200
committerMax Kellermann <max@duempel.org>2011-09-08 23:47:32 +0200
commit5cf4ce9318acfcd3698b10e173315ad681d39560 (patch)
tree8f1dc34e03aabdeee79fb65dd6f69ded806ccc0d /src/decoder/flac_pcm.c
parent5469941f2b12004dc6214af2732eb57ceab7aaf2 (diff)
downloadmpd-5cf4ce9318acfcd3698b10e173315ad681d39560.tar.gz
mpd-5cf4ce9318acfcd3698b10e173315ad681d39560.tar.xz
mpd-5cf4ce9318acfcd3698b10e173315ad681d39560.zip
pcm_format: fix 32-to-24 bit conversion (the "silence" bug)
D'oh, we were reading 16 bit integers instead of 32 bit integers! That caused silence when trying to play a 32 bit input file on a 24 bit sound card (e.g. USB sound chips with 24 bit packed samples).
Diffstat (limited to 'src/decoder/flac_pcm.c')
0 files changed, 0 insertions, 0 deletions