2024-10-30 21:13:28 +00:00
|
|
|
/*
|
|
|
|
* This file is part of mpv.
|
|
|
|
*
|
|
|
|
* mpv is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* mpv is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-11-17 15:02:43 +00:00
|
|
|
#include <AvailabilityMacros.h>
|
2024-10-30 21:13:28 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2024-10-30 21:42:26 +00:00
|
|
|
#ifndef GL_SILENCE_DEPRECATION
|
|
|
|
#define GL_SILENCE_DEPRECATION
|
|
|
|
#endif
|
|
|
|
|
2024-11-17 15:02:43 +00:00
|
|
|
#ifndef MAC_OS_VERSION_12_0
|
|
|
|
#define MAC_OS_VERSION_12_0 120000
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !HAVE_MACOS_12_FEATURES || (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_VERSION_12_0)
|
2024-10-30 21:13:28 +00:00
|
|
|
#define kAudioObjectPropertyElementMain kAudioObjectPropertyElementMaster
|
|
|
|
#endif
|