diff options
Diffstat (limited to 'src/client/qal.h')
-rw-r--r-- | src/client/qal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/qal.h b/src/client/qal.h index f999dc4f..7665e6ef 100644 --- a/src/client/qal.h +++ b/src/client/qal.h @@ -48,6 +48,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #endif +/* Hack to enable compiling both on OpenAL SDK and OpenAL-soft. */ +#ifndef ALC_ENUMERATE_ALL_EXT +# define ALC_ENUMERATE_ALL_EXT 1 +# define ALC_DEFAULT_ALL_DEVICES_SPECIFIER 0x1012 +# define ALC_ALL_DEVICES_SPECIFIER 0x1013 +#endif + #ifdef USE_OPENAL_DLOPEN extern LPALENABLE qalEnable; extern LPALDISABLE qalDisable; |