sokol.audio: fix compilation on macos (link with -framework AudioToolbox)
parent
dad2c6608e
commit
e71aff71ce
|
@ -4,6 +4,7 @@ module audio
|
||||||
#define SOKOL_IMPL
|
#define SOKOL_IMPL
|
||||||
#include "sokol_audio.h"
|
#include "sokol_audio.h"
|
||||||
#flag linux -lasound
|
#flag linux -lasound
|
||||||
|
#flag darwin -framework AudioToolbox
|
||||||
//
|
//
|
||||||
pub type FNStreamingCB = fn (buffer &f32, num_frames, num_channels int)
|
pub type FNStreamingCB = fn (buffer &f32, num_frames, num_channels int)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue