As described in the commit message, Apple renamed kAudioObjectPropertyElementMaster to kAudioObjectPropertyElementMain in the MacOS v12.0 SDK. This change made building Allegro with older SDKs fail.
This pull request includes a commit that allows Allegro to be built with SDKs < v12.0 by using the old variable name if the SDK being used is < v12.0.
As described in the commit message, Apple renamed
kAudioObjectPropertyElementMaster
tokAudioObjectPropertyElementMain
in the MacOS v12.0 SDK. This change made building Allegro with older SDKs fail.This pull request includes a commit that allows Allegro to be built with SDKs < v12.0 by using the old variable name if the SDK being used is < v12.0.