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.
This commit is contained in:
@@ -54,7 +54,7 @@ pcm_export_open(struct pcm_export_state *state,
|
||||
sample_format = SAMPLE_FORMAT_S24_P32;
|
||||
|
||||
state->shift8 = shift8 && sample_format == SAMPLE_FORMAT_S24_P32;
|
||||
state->pack24 = pack && (sample_format == SAMPLE_FORMAT_S24_P32 || sample_format == SAMPLE_FORMAT_DSD_OVER_USB);
|
||||
state->pack24 = pack && sample_format == SAMPLE_FORMAT_S24_P32;
|
||||
|
||||
assert(!state->shift8 || !state->pack24);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user