aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c
diff options
context:
space:
mode:
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;
}