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_format.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_format.c')
-rw-r--r-- | src/pcm_format.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pcm_format.c b/src/pcm_format.c index 06fc94472..d3ea3acb0 100644 --- a/src/pcm_format.c +++ b/src/pcm_format.c @@ -121,7 +121,6 @@ pcm_convert_to_16(struct pcm_buffer *buffer, struct pcm_dither *dither, switch (src_format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: break; case SAMPLE_FORMAT_S8: @@ -237,7 +236,6 @@ pcm_convert_to_24(struct pcm_buffer *buffer, switch (src_format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: break; case SAMPLE_FORMAT_S8: @@ -345,7 +343,6 @@ pcm_convert_to_32(struct pcm_buffer *buffer, switch (src_format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: break; case SAMPLE_FORMAT_S8: @@ -463,7 +460,6 @@ pcm_convert_to_float(struct pcm_buffer *buffer, switch (src_format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: break; case SAMPLE_FORMAT_S8: |