diff options
author | Max Kellermann <max@duempel.org> | 2012-03-27 01:18:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-27 01:22:50 +0200 |
commit | a2b5db00037bd4e0604643eaa67e7a0dd978bb8a (patch) | |
tree | 9da34480c749136e581f91c0a3b4086e330085c2 /src/pcm_export.c | |
parent | 2803ec2e96096dfc461f3e9a522e27b23453d076 (diff) | |
download | mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.tar.gz mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.tar.xz mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.zip |
audio_format: remove SAMPLE_FORMAT_DSD_OVER_USB
DSD-over-USB should not be a MPD core format, because it is not a
"natural" format; it is just a temnporary over-the-wire format. This
format has been implemented in pcm_export, and does not need to be
supported by pcm_convert.
Diffstat (limited to 'src/pcm_export.c')
-rw-r--r-- | src/pcm_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_export.c b/src/pcm_export.c index dbd9f2e8e..e586b51d2 100644 --- a/src/pcm_export.c +++ b/src/pcm_export.c @@ -54,7 +54,7 @@ pcm_export_open(struct pcm_export_state *state, sample_format = SAMPLE_FORMAT_S24_P32; state->shift8 = shift8 && sample_format == SAMPLE_FORMAT_S24_P32; - state->pack24 = pack && (sample_format == SAMPLE_FORMAT_S24_P32 || sample_format == SAMPLE_FORMAT_DSD_OVER_USB); + state->pack24 = pack && sample_format == SAMPLE_FORMAT_S24_P32; assert(!state->shift8 || !state->pack24); |