aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_output_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-27 01:01:16 +0200
committerMax Kellermann <max@duempel.org>2012-03-27 01:22:50 +0200
commitddd4f675a2d42b0c8156e03bf3e93f39df2fe609 (patch)
tree248c44242b11e721eeb03fcb74c601fd12fdec39 /src/output/oss_output_plugin.c
parentd271dd2cce79d1473f43f7ad7e6815b74617dfe3 (diff)
downloadmpd-ddd4f675a2d42b0c8156e03bf3e93f39df2fe609.tar.gz
mpd-ddd4f675a2d42b0c8156e03bf3e93f39df2fe609.tar.xz
mpd-ddd4f675a2d42b0c8156e03bf3e93f39df2fe609.zip
pcm_export: implement 24 to 32 bit conversion
For 32 bit DSD-over-USB support.
Diffstat (limited to 'src/output/oss_output_plugin.c')
-rw-r--r--src/output/oss_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/oss_output_plugin.c b/src/output/oss_output_plugin.c
index 85bdc37dc..f59ee3b92 100644
--- a/src/output/oss_output_plugin.c
+++ b/src/output/oss_output_plugin.c
@@ -540,7 +540,7 @@ oss_probe_sample_format(int fd, enum sample_format sample_format,
*oss_format_r = oss_format;
#ifdef AFMT_S24_PACKED
- pcm_export_open(export, sample_format, 0, false,
+ pcm_export_open(export, sample_format, 0, false, false,
oss_format == AFMT_S24_PACKED,
oss_format == AFMT_S24_PACKED &&
G_BYTE_ORDER != G_LITTLE_ENDIAN);