aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-21 09:06:48 +0100
committerMax Kellermann <max@duempel.org>2012-03-21 09:06:48 +0100
commit9c6a4505c8a8ae0b6d79e2b1e0a68d6d3c5f6c67 (patch)
treed17ab70b3dfa5f84565a546e1128a0eab9da1508 /src/audio_parser.c
parent238c3adad1724054b454f76857307e368e519585 (diff)
downloadmpd-9c6a4505c8a8ae0b6d79e2b1e0a68d6d3c5f6c67.tar.gz
mpd-9c6a4505c8a8ae0b6d79e2b1e0a68d6d3c5f6c67.tar.xz
mpd-9c6a4505c8a8ae0b6d79e2b1e0a68d6d3c5f6c67.zip
audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST
This format is unused since the DSDIFF decoder plugin now reverses the bit order.
Diffstat (limited to 'src/audio_parser.c')
-rw-r--r--src/audio_parser.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/audio_parser.c b/src/audio_parser.c
index 4ee2bda0c..d2d8dc950 100644
--- a/src/audio_parser.c
+++ b/src/audio_parser.c
@@ -94,14 +94,8 @@ parse_sample_format(const char *src, bool mask,
}
if (memcmp(src, "dsd", 3) == 0) {
- if (src[3] == 'l') {
- *sample_format_r = SAMPLE_FORMAT_DSD_LSBFIRST;
- *endptr_r = src + 4;
- } else {
- *sample_format_r = SAMPLE_FORMAT_DSD;
- *endptr_r = src + 3;
- }
-
+ *sample_format_r = SAMPLE_FORMAT_DSD;
+ *endptr_r = src + 3;
return true;
}