File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 39
39
40
40
- on macOS: AudioToolbox
41
41
- on iOS: AudioToolbox, AVFoundation
42
+ - on FreeBSD: asound
42
43
- on Linux: asound
43
44
- on Android: link with OpenSLES or aaudio
44
45
- on Windows with MSVC or Clang toolchain: no action needed, libs are defined in-source via pragma-comment-lib
51
52
52
53
- Windows: WASAPI
53
54
- Linux: ALSA
55
+ - FreeBSD: ALSA
54
56
- macOS: CoreAudio
55
57
- iOS: CoreAudio+AVAudioSession
56
58
- emscripten: WebAudio with ScriptProcessorNode
@@ -780,7 +782,9 @@ inline void saudio_setup(const saudio_desc& desc) { return saudio_setup(&desc);
780
782
#include "aaudio/AAudio.h"
781
783
#endif
782
784
#elif defined(_SAUDIO_LINUX )
783
- #include <alloca.h>
785
+ #if !defined(__FreeBSD__ )
786
+ #include <alloca.h>
787
+ #endif
784
788
#define _SAUDIO_PTHREADS (1)
785
789
#include <pthread.h>
786
790
#define ALSA_PCM_NEW_HW_PARAMS_API
You can’t perform that action at this time.
0 commit comments