diff options
author | Max Kellermann <max@duempel.org> | 2012-03-21 19:37:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-22 00:42:12 +0100 |
commit | b99ecb4dc96f45c0e0ca4b47b82efea57a21f016 (patch) | |
tree | c3cf9e67fa24bfb8f0f82010c05fa1f5aead67aa /src/encoder/wave_encoder.c | |
parent | 208a96b211e433a7064bdaa40b31f6a61bb60419 (diff) | |
download | mpd-b99ecb4dc96f45c0e0ca4b47b82efea57a21f016.tar.gz mpd-b99ecb4dc96f45c0e0ca4b47b82efea57a21f016.tar.xz mpd-b99ecb4dc96f45c0e0ca4b47b82efea57a21f016.zip |
audio_format: remove the packed S24 format
For simplicity, the MPD core should not have to deal with packing. It
is rarely used, and those plugins that need it should use the
pcm_export library instead.
Diffstat (limited to 'src/encoder/wave_encoder.c')
-rw-r--r-- | src/encoder/wave_encoder.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/encoder/wave_encoder.c b/src/encoder/wave_encoder.c index 67c3ce085..9eeb4d513 100644 --- a/src/encoder/wave_encoder.c +++ b/src/encoder/wave_encoder.c @@ -122,11 +122,6 @@ wave_encoder_open(struct encoder *_encoder, encoder->bits = 16; break; - case SAMPLE_FORMAT_S24: - audio_format->format = SAMPLE_FORMAT_S24_P32; - encoder->bits = 24; - break; - case SAMPLE_FORMAT_S24_P32: encoder->bits = 24; break; |