diff options
Diffstat (limited to 'src/audio_format.h')
-rw-r--r-- | src/audio_format.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/audio_format.h b/src/audio_format.h index c6527e6a..bb79de39 100644 --- a/src/audio_format.h +++ b/src/audio_format.h @@ -46,12 +46,6 @@ enum sample_format { * range is -1.0f to +1.0f. */ SAMPLE_FORMAT_FLOAT, - - /** - * Direct Stream Digital. 1-bit samples; each frame has one - * byte (8 samples) per channel. - */ - SAMPLE_FORMAT_DSD, }; static const unsigned MAX_CHANNELS = 8; @@ -168,7 +162,6 @@ audio_valid_sample_format(enum sample_format format) case SAMPLE_FORMAT_S24_P32: case SAMPLE_FORMAT_S32: case SAMPLE_FORMAT_FLOAT: - case SAMPLE_FORMAT_DSD: return true; case SAMPLE_FORMAT_UNDEFINED: @@ -241,10 +234,6 @@ sample_format_size(enum sample_format format) case SAMPLE_FORMAT_FLOAT: return 4; - case SAMPLE_FORMAT_DSD: - /* each frame has 8 samples per channel */ - return 1; - case SAMPLE_FORMAT_UNDEFINED: return 0; } |