1
0
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:
Delyan Angelov 2020-08-23 20:55:01 +03:00
parent dad2c6608e
commit e71aff71ce

View File

@ -4,6 +4,7 @@ module audio
#define SOKOL_IMPL
#include "sokol_audio.h"
#flag linux -lasound
#flag darwin -framework AudioToolbox
//
pub type FNStreamingCB = fn (buffer &f32, num_frames, num_channels int)