Commit ad17fde5 authored by Marvin Scholz's avatar Marvin Scholz

audio_output/coreaudio: Remove check for 10.7

This removes the check if we are running 10.7 or higher and therefore
support 8.0 audio output, as this is always true given the macOS
version we are targeting.
parent 359bf62f
......@@ -488,26 +488,6 @@ MapOutputLayout(audio_output_t *p_aout, audio_sample_format_t *fmt,
#endif
}
if (aout_FormatNbChannels(fmt) >= 8
&& fmt->i_physical_channels != AOUT_CHANS_7_1)
{
#if TARGET_OS_IPHONE
const bool b_8x_support = true;
#else
SInt32 osx_min_version;
if (Gestalt(gestaltSystemVersionMinor, &osx_min_version) != noErr)
msg_Err(p_aout, "failed to check OSX version");
const bool b_8x_support = osx_min_version >= 7;
#endif
if (!b_8x_support)
{
msg_Warn(p_aout, "8.0 audio output not supported on this "
"device, layout will be incorrect");
fmt->i_physical_channels = AOUT_CHANS_7_1;
}
}
}
end:
......
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