diff options
author | Max Kellermann <max@duempel.org> | 2012-03-27 01:18:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-27 01:22:50 +0200 |
commit | a2b5db00037bd4e0604643eaa67e7a0dd978bb8a (patch) | |
tree | 9da34480c749136e581f91c0a3b4086e330085c2 /src/output | |
parent | 2803ec2e96096dfc461f3e9a522e27b23453d076 (diff) | |
download | mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.tar.gz mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.tar.xz mpd-a2b5db00037bd4e0604643eaa67e7a0dd978bb8a.zip |
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.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/alsa_output_plugin.c | 1 | ||||
-rw-r--r-- | src/output/oss_output_plugin.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/output/alsa_output_plugin.c b/src/output/alsa_output_plugin.c index 9faacb0a9..a6dc92fa0 100644 --- a/src/output/alsa_output_plugin.c +++ b/src/output/alsa_output_plugin.c @@ -227,7 +227,6 @@ get_bitformat(enum sample_format sample_format) switch (sample_format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: return SND_PCM_FORMAT_UNKNOWN; case SAMPLE_FORMAT_S8: diff --git a/src/output/oss_output_plugin.c b/src/output/oss_output_plugin.c index f59ee3b92..e366a4537 100644 --- a/src/output/oss_output_plugin.c +++ b/src/output/oss_output_plugin.c @@ -433,7 +433,6 @@ sample_format_to_oss(enum sample_format format) case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_FLOAT: case SAMPLE_FORMAT_DSD: - case SAMPLE_FORMAT_DSD_OVER_USB: return AFMT_QUERY; case SAMPLE_FORMAT_S8: |