From 9c6a4505c8a8ae0b6d79e2b1e0a68d6d3c5f6c67 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 21 Mar 2012 09:06:48 +0100 Subject: audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST This format is unused since the DSDIFF decoder plugin now reverses the bit order. --- src/audio_parser.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/audio_parser.c') 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; } -- cgit v1.2.3