diff --git a/generate.jai b/generate.jai index ac1eb37..ee28b3d 100644 --- a/generate.jai +++ b/generate.jai @@ -66,6 +66,8 @@ generate_bindings :: () -> bool { #if COMPILE { #import "BuildCpp"; + #if COMPILE_DEBUG then array_add(*extra, "/Zi"); + src_file := tprint("%/miniaudio.c", SOURCE_PATH); success := false; diff --git a/windows.jai b/windows.jai index 2a8e63c..621e6f3 100644 --- a/windows.jai +++ b/windows.jai @@ -6,6 +6,7 @@ +MA_DLL :: 1; MA_VERSION_MAJOR :: 0; MA_VERSION_MINOR :: 11; MA_VERSION_REVISION :: 18; @@ -6228,7 +6229,7 @@ ma_sound_group_get_time_in_pcm_frames :: (pGroup: *ma_sound_group) -> ma_uint64 #import "Basic"; // For assert -miniaudio :: #library,no_dll "windows/miniaudio"; +miniaudio :: #library "windows/miniaudio"; #run { { diff --git a/windows/miniaudio.dll b/windows/miniaudio.dll new file mode 100644 index 0000000..5946514 Binary files /dev/null and b/windows/miniaudio.dll differ diff --git a/windows/miniaudio.lib b/windows/miniaudio.lib index f903332..151d877 100644 Binary files a/windows/miniaudio.lib and b/windows/miniaudio.lib differ