Skip to content

Commit

Permalink
Merge pull request #1488 from e2002e/main
Browse files Browse the repository at this point in the history
fix audio callback init
  • Loading branch information
RobDangerous authored Jan 31, 2024
2 parents a065806 + e3a8978 commit 206d1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backends/Kinc-HL/kinc-bridge/kinc.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void hl_init_kore(vbyte *title, int width, int height, int samplesPerPixel, bool
void hl_kinc_init_audio(vclosure *callCallback, vclosure *readSample, int *outSamplesPerSecond) {
audioCallCallback = *((FN_AUDIO_CALL_CALLBACK *)(&callCallback->fun));
audioReadSample = *((FN_AUDIO_READ_SAMPLE *)(&readSample->fun));
kinc_a2_set_callback(mix);
kinc_a2_set_callback(mix, NULL);
kinc_a2_init();
*outSamplesPerSecond = kinc_a2_samples_per_second;
}
Expand Down

0 comments on commit 206d1ee

Please sign in to comment.