aboutsummaryrefslogtreecommitdiff
path: root/quantum/audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-16 21:31:40 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-16 21:31:40 -0400
commit41cc35425ab32c9a9492006da8b667d01d32dfa6 (patch)
tree23813e84df2687694ba82adf416f59a9e52e89b9 /quantum/audio.h
parent8f4ce501eb41cdd195d61e05c7e9dbe54545e6b9 (diff)
downloadqmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.tar.gz
qmk_firmware-41cc35425ab32c9a9492006da8b667d01d32dfa6.zip
rests between notes as an argument
Diffstat (limited to 'quantum/audio.h')
-rw-r--r--quantum/audio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/audio.h b/quantum/audio.h
index 58270015d..65a6f9434 100644
--- a/quantum/audio.h
+++ b/quantum/audio.h
@@ -2,6 +2,7 @@
2#include <stdbool.h> 2#include <stdbool.h>
3#include <avr/io.h> 3#include <avr/io.h>
4#include <util/delay.h> 4#include <util/delay.h>
5#include "musical_notes.h"
5 6
6typedef union { 7typedef union {
7 uint8_t raw; 8 uint8_t raw;
@@ -20,4 +21,4 @@ void play_note(double freq, int vol);
20void stop_note(double freq); 21void stop_note(double freq);
21void stop_all_notes(); 22void stop_all_notes();
22void init_notes(); 23void init_notes();
23void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat); 24void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat, float n_rest);