aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-27 01:18:53 +0200
committerMax Kellermann <max@duempel.org>2012-03-27 01:22:50 +0200
commita2b5db00037bd4e0604643eaa67e7a0dd978bb8a (patch)
tree9da34480c749136e581f91c0a3b4086e330085c2 /src/audio_parser.c
parent2803ec2e96096dfc461f3e9a522e27b23453d076 (diff)
downloadmpd-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/audio_parser.c')
-rw-r--r--src/audio_parser.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/audio_parser.c b/src/audio_parser.c
index d5a3eb97e..b1be8887a 100644
--- a/src/audio_parser.c
+++ b/src/audio_parser.c
@@ -87,12 +87,6 @@ parse_sample_format(const char *src, bool mask,
return true;
}
- if (memcmp(src, "dsdusb", 6) == 0) {
- *sample_format_r = SAMPLE_FORMAT_DSD_OVER_USB;
- *endptr_r = src + 6;
- return true;
- }
-
if (memcmp(src, "dsd", 3) == 0) {
*sample_format_r = SAMPLE_FORMAT_DSD;
*endptr_r = src + 3;