aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-12-24 18:18:42 +0100
committerMax Kellermann <max@duempel.org>2011-12-24 18:18:42 +0100
commit1ebadf8620bdc0e58504c9c6284c533989030927 (patch)
tree5c0a5283ed943cae2dd815c40e95690757fbb32f
parent9179d9592d7431c9b03a8d63b4edc006dc0faa26 (diff)
downloadmpd-1ebadf8620bdc0e58504c9c6284c533989030927.tar.gz
mpd-1ebadf8620bdc0e58504c9c6284c533989030927.tar.xz
mpd-1ebadf8620bdc0e58504c9c6284c533989030927.zip
output/osx: implement 32 bit playback
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--src/output/osx_output_plugin.c8
2 files changed, 7 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d0346dac0..ea9bfe6d7 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ ver 0.17 (2011/??/??)
- httpd: support for streaming to a DLNA client
- openal: improve buffer cancellation
- osx: allow user to specify other audio devices
+ - osx: implement 32 bit playback
- raop: new output plugin
- shout: add possibility to set url
- roar: new output plugin for RoarAudio
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;
}