From 1d913b0cacea5c4a384bf838de8121653214656e Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 21 May 2024 23:36:56 +0000 Subject: [PATCH] format git-svn-id: file:///raid/svn-main/kazu-ksynth/trunk@44 7b47e76f-e598-2f43-bc14-414d160cc389 --- src/ksynth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ksynth.c b/src/ksynth.c index 585cc9a..67ff3bf 100644 --- a/src/ksynth.c +++ b/src/ksynth.c @@ -183,6 +183,7 @@ struct KSynth* ksynth_new(const char* sample_file_path, unsigned int sample_rate fprintf(stderr, "[KSynth] Error: Failed to allocate memory for KSynth instance.\n"); return NULL; } + void ksynth_note_on(struct KSynth* ksynth_instance, unsigned char channel, unsigned char note, unsigned char velocity) { if(!ksynth_instance || !ksynth_instance->voices || channel > 15 || note > (MAX_KEYS - 1) || velocity > 127) { fprintf(stderr, "[KSynth] Error: Invalid parameters for note on.\n"); -- 2.43.0