From 1ebadf8620bdc0e58504c9c6284c533989030927 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Dec 2011 18:18:42 +0100 Subject: output/osx: implement 32 bit playback --- src/output/osx_output_plugin.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/output') diff --git a/src/output/osx_output_plugin.c b/src/output/osx_output_plugin.c index 550729406..909bee1a6 100644 --- a/src/output/osx_output_plugin.c +++ b/src/output/osx_output_plugin.c @@ -345,9 +345,13 @@ osx_output_open(struct audio_output *ao, struct audio_format *audio_format, GErr stream_description.mBitsPerChannel = 16; break; + case SAMPLE_FORMAT_S32: + stream_description.mBitsPerChannel = 32; + break; + default: - audio_format->format = SAMPLE_FORMAT_S16; - stream_description.mBitsPerChannel = 16; + audio_format->format = SAMPLE_FORMAT_S32; + stream_description.mBitsPerChannel = 32; break; } -- cgit v1.2.3