]> Nishi Git Mirror - ksynth.git/commitdiff
format
authorkazu <kazu@7b47e76f-e598-2f43-bc14-414d160cc389>
Tue, 21 May 2024 23:36:56 +0000 (23:36 +0000)
committerkazu <kazu@7b47e76f-e598-2f43-bc14-414d160cc389>
Tue, 21 May 2024 23:36:56 +0000 (23:36 +0000)
git-svn-id: file:///raid/svn-main/kazu-ksynth/trunk@44 7b47e76f-e598-2f43-bc14-414d160cc389

src/ksynth.c

index 585cc9a9af09be535d9507d7fadbbe1b2f5d68be..67ff3bfc030765137c7c6c064ae74b91e1931313 100644 (file)
@@ -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");