aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_format.c
diff options
context:
space:
mode:
authorSimon Hosie <simonhosie77+mpd@gmail.com>2012-09-25 21:08:32 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 21:27:50 +0200
commit5e9ccdec639a7b3e6b3e25c1fcac5270f8c5005c (patch)
treeb5c8df7f5071cbf95e42bc284c64ac8c977bcc75 /src/audio_format.c
parent071aca60be8ddeff508d9331bd78e6aa87d9fc52 (diff)
downloadmpd-5e9ccdec639a7b3e6b3e25c1fcac5270f8c5005c.tar.gz
mpd-5e9ccdec639a7b3e6b3e25c1fcac5270f8c5005c.tar.xz
mpd-5e9ccdec639a7b3e6b3e25c1fcac5270f8c5005c.zip
decoder/vorbis: skip 16 bit quantisation, provide float samples
Internally the vorbis (non-Tremor) decoder is working in floating point, and it's not really necessary to cut the output back to 16-bit if the soundcard or OS supports higher resolution. The decoder can be trivially modified to bypass its internal quantisation and produce floating-point output, and a separate quantisation can be used as appropriate to the platform.
Diffstat (limited to 'src/audio_format.c')
0 files changed, 0 insertions, 0 deletions