diff --git a/Backends/Kinc-hxcpp/main.cpp b/Backends/Kinc-hxcpp/main.cpp index 5c9fb7498..a1bb7a0c7 100644 --- a/Backends/Kinc-hxcpp/main.cpp +++ b/Backends/Kinc-hxcpp/main.cpp @@ -342,8 +342,8 @@ void post_kinc_init() { } void kha_kinc_init_audio(void) { - kinc_a2_set_callback(mix, nullptr); kinc_a2_init(); + kinc_a2_set_callback(mix, nullptr); ::kha::audio2::Audio_obj::samplesPerSecond = kinc_a2_samples_per_second(); }