Commit 1ebadf86 authored by Max Kellermann's avatar Max Kellermann

output/osx: implement 32 bit playback

parent 9179d959
...@@ -19,6 +19,7 @@ ver 0.17 (2011/??/??) ...@@ -19,6 +19,7 @@ ver 0.17 (2011/??/??)
- httpd: support for streaming to a DLNA client - httpd: support for streaming to a DLNA client
- openal: improve buffer cancellation - openal: improve buffer cancellation
- osx: allow user to specify other audio devices - osx: allow user to specify other audio devices
- osx: implement 32 bit playback
- raop: new output plugin - raop: new output plugin
- shout: add possibility to set url - shout: add possibility to set url
- roar: new output plugin for RoarAudio - roar: new output plugin for RoarAudio
......
...@@ -345,9 +345,13 @@ osx_output_open(struct audio_output *ao, struct audio_format *audio_format, GErr ...@@ -345,9 +345,13 @@ osx_output_open(struct audio_output *ao, struct audio_format *audio_format, GErr
stream_description.mBitsPerChannel = 16; stream_description.mBitsPerChannel = 16;
break; break;
case SAMPLE_FORMAT_S32:
stream_description.mBitsPerChannel = 32;
break;
default: default:
audio_format->format = SAMPLE_FORMAT_S16; audio_format->format = SAMPLE_FORMAT_S32;
stream_description.mBitsPerChannel = 16; stream_description.mBitsPerChannel = 32;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment