From a2b5db00037bd4e0604643eaa67e7a0dd978bb8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 27 Mar 2012 01:18:53 +0200 Subject: 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. --- src/audio_format.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/audio_format.h') diff --git a/src/audio_format.h b/src/audio_format.h index 43d62424..bf77add3 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -50,13 +50,6 @@ enum sample_format { * byte (8 samples) per channel. */ SAMPLE_FORMAT_DSD, - - /** - * DSD packed in 24 bit samples (padded to 32 bit), according - * to the dCS suggested standard: - * http://www.dcsltd.co.uk/page/assets/DSDoverUSB.pdf - */ - SAMPLE_FORMAT_DSD_OVER_USB, }; static const unsigned MAX_CHANNELS = 8; @@ -174,7 +167,6 @@ audio_valid_sample_format(enum sample_format format) case SAMPLE_FORMAT_S32: case SAMPLE_FORMAT_FLOAT: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: return true; case SAMPLE_FORMAT_UNDEFINED: @@ -245,7 +237,6 @@ sample_format_size(enum sample_format format) case SAMPLE_FORMAT_S24_P32: case SAMPLE_FORMAT_S32: case SAMPLE_FORMAT_FLOAT: - case SAMPLE_FORMAT_DSD_OVER_USB: return 4; case SAMPLE_FORMAT_DSD: -- cgit v1.2.3