summaryrefslogtreecommitdiffstats
path: root/quantum/audio/audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-07-21 05:57:11 +0200
committerJack Humbert <jack.humb@gmail.com>2017-07-23 20:59:29 +0200
commit6a3c66776cb10888b24400526241b46deeb051a8 (patch)
tree7604aafe7087d9ab40aa0bb6bc603975e31d7e2e /quantum/audio/audio.h
parent8edb67b08242f2ab641d7e658a0a7adb579bbae2 (diff)
downloadqmk_firmware-6a3c66776cb10888b24400526241b46deeb051a8.tar.gz
qmk_firmware-6a3c66776cb10888b24400526241b46deeb051a8.tar.xz
clean-up planck and preonic keymaps, move audio stuff around
Diffstat (limited to 'quantum/audio/audio.h')
-rw-r--r--quantum/audio/audio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/audio/audio.h b/quantum/audio/audio.h
index 27fdc2ab6..ad3abeb78 100644
--- a/quantum/audio/audio.h
+++ b/quantum/audio/audio.h
@@ -99,7 +99,7 @@ void play_notes(float (*np)[][2], uint16_t n_count, bool n_repeat, float n_rest)
// The global float array for the song must be used here.
#define NOTE_ARRAY_SIZE(x) ((int16_t)(sizeof(x) / (sizeof(x[0]))))
#define PLAY_NOTE_ARRAY(note_array, note_repeat, note_rest_style) play_notes(&note_array, NOTE_ARRAY_SIZE((note_array)), (note_repeat), (note_rest_style));
-
+#define PLAY_SONG(song) PLAY_NOTE_ARRAY(song, false, STACCATO)
bool is_playing_notes(void);