mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol.audio: fix compilation on macos (link with -framework AudioToolbox)
This commit is contained in:
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…
x
Reference in New Issue
Block a user