From 08ce24ec3fb094f653b3f3421388edec02f1dced Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 18 Mar 2012 18:33:26 +0100 Subject: audio_format: basic support for DSD-over-USB --- src/output/alsa_output_plugin.c | 1 + src/output/oss_output_plugin.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/output') diff --git a/src/output/alsa_output_plugin.c b/src/output/alsa_output_plugin.c index 58f73d67d..4a51fcaed 100644 --- a/src/output/alsa_output_plugin.c +++ b/src/output/alsa_output_plugin.c @@ -196,6 +196,7 @@ get_bitformat(enum sample_format sample_format) case SAMPLE_FORMAT_UNDEFINED: case SAMPLE_FORMAT_DSD: case SAMPLE_FORMAT_DSD_LSBFIRST: + 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 f98d01914..0868cf7e7 100644 --- a/src/output/oss_output_plugin.c +++ b/src/output/oss_output_plugin.c @@ -398,6 +398,7 @@ sample_format_to_oss(enum sample_format format) case SAMPLE_FORMAT_FLOAT: case SAMPLE_FORMAT_DSD: case SAMPLE_FORMAT_DSD_LSBFIRST: + case SAMPLE_FORMAT_DSD_OVER_USB: return AFMT_QUERY; case SAMPLE_FORMAT_S8: -- cgit v1.2.3