output/osx: implement 32 bit playback
This commit is contained in:
parent
9179d9592d
commit
1ebadf8620
1
NEWS
1
NEWS
|
@ -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
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue