aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_format.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-18 18:33:26 +0100
committerMax Kellermann <max@duempel.org>2012-03-19 23:49:29 +0100
commit08ce24ec3fb094f653b3f3421388edec02f1dced (patch)
tree30a4bfc4a4e88521b48396396bcff3416a9b5211 /src/pcm_format.c
parent281b8714efbf930a80eb3ab6056240ae0882aa22 (diff)
downloadmpd-08ce24ec3fb094f653b3f3421388edec02f1dced.tar.gz
mpd-08ce24ec3fb094f653b3f3421388edec02f1dced.tar.xz
mpd-08ce24ec3fb094f653b3f3421388edec02f1dced.zip
audio_format: basic support for DSD-over-USB
Diffstat (limited to '')
-rw-r--r--src/pcm_format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pcm_format.c b/src/pcm_format.c
index c7cf910ed..ecc1ee1c9 100644
--- a/src/pcm_format.c
+++ b/src/pcm_format.c
@@ -149,6 +149,7 @@ pcm_convert_to_16(struct pcm_buffer *buffer, struct pcm_dither *dither,
case SAMPLE_FORMAT_UNDEFINED:
case SAMPLE_FORMAT_DSD:
case SAMPLE_FORMAT_DSD_LSBFIRST:
+ case SAMPLE_FORMAT_DSD_OVER_USB:
break;
case SAMPLE_FORMAT_S8:
@@ -269,6 +270,7 @@ pcm_convert_to_24(struct pcm_buffer *buffer,
case SAMPLE_FORMAT_UNDEFINED:
case SAMPLE_FORMAT_DSD:
case SAMPLE_FORMAT_DSD_LSBFIRST:
+ case SAMPLE_FORMAT_DSD_OVER_USB:
break;
case SAMPLE_FORMAT_S8:
@@ -395,6 +397,7 @@ pcm_convert_to_32(struct pcm_buffer *buffer,
case SAMPLE_FORMAT_UNDEFINED:
case SAMPLE_FORMAT_DSD:
case SAMPLE_FORMAT_DSD_LSBFIRST:
+ case SAMPLE_FORMAT_DSD_OVER_USB:
break;
case SAMPLE_FORMAT_S8:
@@ -532,6 +535,7 @@ pcm_convert_to_float(struct pcm_buffer *buffer,
case SAMPLE_FORMAT_UNDEFINED:
case SAMPLE_FORMAT_DSD:
case SAMPLE_FORMAT_DSD_LSBFIRST:
+ case SAMPLE_FORMAT_DSD_OVER_USB:
break;
case SAMPLE_FORMAT_S8: