libASPL
Loading...
Searching...
No Matches
Compat.hpp
Go to the documentation of this file.
1// Copyright (c) libASPL authors
2// Licensed under MIT
3
4//! @file aspl/Compat.hpp
5//! @brief Compatibility definitions.
6
7#pragma once
8
9#include <CoreAudio/AudioServerPlugIn.h>
10
11namespace aspl {
12
13// Backward compatibility with macOS before 12.0
14#if !defined(MAC_OS_VERSION_12_0) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_VERSION_12_0
15enum
16{
17 kAudioObjectPropertyElementMain = kAudioObjectPropertyElementMaster
18};
19#endif
20
21} // namespace aspl