aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_format.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_format.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pcm_format.c b/src/pcm_format.c
index a20d8bb8d..c7cf910ed 100644
--- a/src/pcm_format.c
+++ b/src/pcm_format.c
@@ -147,6 +147,8 @@ pcm_convert_to_16(struct pcm_buffer *buffer, struct pcm_dither *dither,
switch (src_format) {
case SAMPLE_FORMAT_UNDEFINED:
+ case SAMPLE_FORMAT_DSD:
+ case SAMPLE_FORMAT_DSD_LSBFIRST:
break;
case SAMPLE_FORMAT_S8:
@@ -265,6 +267,8 @@ pcm_convert_to_24(struct pcm_buffer *buffer,
switch (src_format) {
case SAMPLE_FORMAT_UNDEFINED:
+ case SAMPLE_FORMAT_DSD:
+ case SAMPLE_FORMAT_DSD_LSBFIRST:
break;
case SAMPLE_FORMAT_S8:
@@ -389,6 +393,8 @@ pcm_convert_to_32(struct pcm_buffer *buffer,
switch (src_format) {
case SAMPLE_FORMAT_UNDEFINED:
+ case SAMPLE_FORMAT_DSD:
+ case SAMPLE_FORMAT_DSD_LSBFIRST:
break;
case SAMPLE_FORMAT_S8:
@@ -524,6 +530,8 @@ pcm_convert_to_float(struct pcm_buffer *buffer,
{
switch (src_format) {
case SAMPLE_FORMAT_UNDEFINED:
+ case SAMPLE_FORMAT_DSD:
+ case SAMPLE_FORMAT_DSD_LSBFIRST:
break;
case SAMPLE_FORMAT_S8: