aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_music.h
diff options
context:
space:
mode:
authorGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-25 19:25:33 -0800
committerGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-25 19:25:33 -0800
commit1000799d1ef594bf9f48076986ec300ef9e536db (patch)
treee561400e2a5f2e0c27238b1e2602164140039918 /quantum/process_keycode/process_music.h
parent525be99ee938aa6e48448d7dd6ea6e6fe50bb36d (diff)
downloadqmk_firmware-1000799d1ef594bf9f48076986ec300ef9e536db.tar.gz
Factor basic note processing into respective processors
Diffstat (limited to 'quantum/process_keycode/process_music.h')
-rw-r--r--quantum/process_keycode/process_music.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_music.h b/quantum/process_keycode/process_music.h
index 318b3e387..69913b276 100644
--- a/quantum/process_keycode/process_music.h
+++ b/quantum/process_keycode/process_music.h
@@ -3,6 +3,8 @@
#include "quantum.h"
+#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
+
bool process_music(uint16_t keycode, keyrecord_t *record);
bool is_music_on(void);
@@ -10,7 +12,6 @@ void music_toggle(void);
void music_on(void);
void music_off(void);
-void audio_on_user(void);
void music_on_user(void);
void music_scale_user(void);
@@ -24,4 +25,6 @@ void matrix_scan_music(void);
0 + (12*4), 2 + (12*4), 4 + (12*4), 5 + (12*4), 7 + (12*4), 9 + (12*4), 11 + (12*4), }
#endif
+#endif // defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
+
#endif \ No newline at end of file