audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRST

This format is unused since the DSDIFF decoder plugin now reverses the
bit order.
This commit is contained in:
Max Kellermann
2012-03-21 09:06:48 +01:00
parent 238c3adad1
commit 9c6a4505c8
11 changed files with 4 additions and 36 deletions

View File

@@ -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;
}