From a98d50cd6138a2631cca295faf75dee8115b4532 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 23 Nov 2015 16:33:16 +0100 Subject: [PATCH] Fix for older OpenAL versions --- panda/src/audiotraits/openalAudioManager.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/panda/src/audiotraits/openalAudioManager.cxx b/panda/src/audiotraits/openalAudioManager.cxx index 792a326cf8..b5138a345b 100644 --- a/panda/src/audiotraits/openalAudioManager.cxx +++ b/panda/src/audiotraits/openalAudioManager.cxx @@ -28,6 +28,14 @@ #include +#ifndef ALC_DEFAULT_ALL_DEVICES_SPECIFIER +#define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012 +#endif + +#ifndef ALC_ALL_DEVICES_SPECIFIER +#define ALC_ALL_DEVICES_SPECIFIER 0x1013 +#endif + TypeHandle OpenALAudioManager::_type_handle; ReMutex OpenALAudioManager::_lock;