From a0730cf264f4bfebffb685f3f08dd8e1072aee38 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 27 Mar 2012 00:37:04 +0200 Subject: pcm_export: support packing SAMPLE_FORMAT_DSD_OVER_USB It's a padded 24 bit format. --- src/pcm_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pcm_export.c b/src/pcm_export.c index 5579c7cc3..134acc18f 100644 --- a/src/pcm_export.c +++ b/src/pcm_export.c @@ -40,7 +40,7 @@ pcm_export_open(struct pcm_export_state *state, enum sample_format sample_format, bool pack, bool reverse_endian) { - state->pack24 = pack && sample_format == SAMPLE_FORMAT_S24_P32; + state->pack24 = pack && (sample_format == SAMPLE_FORMAT_S24_P32 || sample_format == SAMPLE_FORMAT_DSD_OVER_USB); state->reverse_endian = 0; if (reverse_endian) { -- cgit v1.2.3