Skip to content

Commit

Permalink
[Kinc-hxcpp] Fix a2 initialization order
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Apr 7, 2024
1 parent 2094336 commit 8661afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backends/Kinc-hxcpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 8661afd

Please sign in to comment.