diff --git a/Audio/Output/OutputCoreAudio.m b/Audio/Output/OutputCoreAudio.m index 9239460f6..d01532092 100644 --- a/Audio/Output/OutputCoreAudio.m +++ b/Audio/Output/OutputCoreAudio.m @@ -265,8 +265,7 @@ default_device_changed(AudioObjectID inObjectID, UInt32 inNumberAddresses, const deviceFormat.mFormatFlags &= ~kLinearPCMFormatFlagIsNonInterleaved; // deviceFormat.mFormatFlags &= ~kLinearPCMFormatFlagIsFloat; // deviceFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger; - if (@available(macOS 12.0, *)) { - // Let's enable surround upmixing, for surround and spatial output + if (deviceFormat.mChannelsPerFrame > 8) { deviceFormat.mChannelsPerFrame = 8; } // And force a default rate for crappy devices