switchaudio-osx icon indicating copy to clipboard operation
switchaudio-osx copied to clipboard

audio_switch.h: fix for pre-10.8

Open barracuda156 opened this issue 8 months ago • 1 comments

<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

With this it builds at least on 10.6.

barracuda156 avatar Jun 06 '24 08:06 barracuda156