From 8661afd279dc23837fe459dd8c979d686549fd82 Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Sun, 7 Apr 2024 12:32:55 +0200 Subject: [PATCH] [Kinc-hxcpp] Fix a2 initialization order --- Backends/Kinc-hxcpp/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }