Open barracuda156 opened 6 months ago
<CoreAudio/AudioHardwareBase.h> appears in 10.8. Fallback definitions are from https://github.com/phracker/MacOSX-SDKs/blob/041600eda65c6a668f66cb7d56b7d1da3e8bcc93/MacOSX10.8.sdk/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/AudioHardwareDeprecated.h#L52-L53
<CoreAudio/AudioHardwareBase.h>
With this it builds at least on 10.6.
P. S. A half of the fix is in https://github.com/deweller/switchaudio-osx/pull/65 – if that way is preferable, I will drop it from the header. But we still need the other part.
<CoreAudio/AudioHardwareBase.h>
appears in 10.8. Fallback definitions are from https://github.com/phracker/MacOSX-SDKs/blob/041600eda65c6a668f66cb7d56b7d1da3e8bcc93/MacOSX10.8.sdk/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/AudioHardwareDeprecated.h#L52-L53With this it builds at least on 10.6.