diff options
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/osx_plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c index 74ecc6e02..518f0bd11 100644 --- a/src/output/osx_plugin.c +++ b/src/output/osx_plugin.c @@ -223,6 +223,9 @@ osx_openDevice(void *data, struct audio_format *audioFormat) AURenderCallbackStruct callback; AudioStreamBasicDescription streamDesc; + if (audioFormat->bits > 16) + audioFormat->bits = 16; + desc.componentType = kAudioUnitType_Output; desc.componentSubType = kAudioUnitSubType_DefaultOutput; desc.componentManufacturer = kAudioUnitManufacturer_Apple; |