summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_audio.c')
-rw-r--r--quantum/process_keycode/process_audio.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_audio.c b/quantum/process_keycode/process_audio.c
index 23664721e8..e7fe453308 100644
--- a/quantum/process_keycode/process_audio.c
+++ b/quantum/process_keycode/process_audio.c
@@ -50,11 +50,17 @@ bool process_audio(uint16_t keycode, keyrecord_t *record) {
50 return true; 50 return true;
51} 51}
52 52
53void process_audio_noteon(uint8_t note) { play_note(compute_freq_for_midi_note(note), 0xF); } 53void process_audio_noteon(uint8_t note) {
54 play_note(compute_freq_for_midi_note(note), 0xF);
55}
54 56
55void process_audio_noteoff(uint8_t note) { stop_note(compute_freq_for_midi_note(note)); } 57void process_audio_noteoff(uint8_t note) {
58 stop_note(compute_freq_for_midi_note(note));
59}
56 60
57void process_audio_all_notes_off(void) { stop_all_notes(); } 61void process_audio_all_notes_off(void) {
62 stop_all_notes();
63}
58 64
59__attribute__((weak)) void audio_on_user() {} 65__attribute__((weak)) void audio_on_user() {}
60__attribute__((weak)) void audio_off_user() {} 66__attribute__((weak)) void audio_off_user() {}