mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Improvements to the build system for the OpenAL backend.
This commit is contained in:
@@ -1638,7 +1638,14 @@ void mal_pcm_convert(void* pOut, mal_format formatOut, const void* pIn, mal_form
|
|||||||
#define MAL_HAS_OPENSL // Like OSS, OpenSL is the only supported backend for Android. It must be present.
|
#define MAL_HAS_OPENSL // Like OSS, OpenSL is the only supported backend for Android. It must be present.
|
||||||
#endif
|
#endif
|
||||||
#ifdef MAL_ENABLE_OPENAL
|
#ifdef MAL_ENABLE_OPENAL
|
||||||
#define MAL_HAS_OPENAL // mini_al inlines the necessary OpenAL stuff.
|
#define MAL_HAS_OPENAL
|
||||||
|
#ifdef MAL_NO_RUNTIME_LINKING
|
||||||
|
#ifdef __has_include
|
||||||
|
#if !__has_include(<AL/al.h>)
|
||||||
|
#undef MAL_HAS_OPENAL
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef MAL_ENABLE_SDL
|
#ifdef MAL_ENABLE_SDL
|
||||||
#define MAL_HAS_SDL
|
#define MAL_HAS_SDL
|
||||||
@@ -11488,6 +11495,7 @@ void mal_pcm_f32_to_s32(int* pOut, const float* pIn, unsigned int count)
|
|||||||
// ================
|
// ================
|
||||||
//
|
//
|
||||||
// v0.x - xxxx-xx-xx
|
// v0.x - xxxx-xx-xx
|
||||||
|
// - Improvements to the build system for the OpenAL backend.
|
||||||
// - Documentation fixes.
|
// - Documentation fixes.
|
||||||
//
|
//
|
||||||
// v0.6 - 2017-12-08
|
// v0.6 - 2017-12-08
|
||||||
|
|||||||
Reference in New Issue
Block a user