diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/alsa_output_plugin.c | 2 | ||||
-rw-r--r-- | src/output/oss_output_plugin.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/output/alsa_output_plugin.c b/src/output/alsa_output_plugin.c index f939ba5b4..58f73d67d 100644 --- a/src/output/alsa_output_plugin.c +++ b/src/output/alsa_output_plugin.c @@ -194,6 +194,8 @@ get_bitformat(enum sample_format sample_format) { switch (sample_format) { case SAMPLE_FORMAT_UNDEFINED: + case SAMPLE_FORMAT_DSD: + case SAMPLE_FORMAT_DSD_LSBFIRST: 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 46505873b..b2b491c9c 100644 --- a/src/output/oss_output_plugin.c +++ b/src/output/oss_output_plugin.c @@ -396,6 +396,8 @@ sample_format_to_oss(enum sample_format format) switch (format) { case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_FLOAT: + case SAMPLE_FORMAT_DSD: + case SAMPLE_FORMAT_DSD_LSBFIRST: return AFMT_QUERY; case SAMPLE_FORMAT_S8: |