diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-19 00:04:14 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-02-19 00:04:14 -0500 |
commit | c2239e6b96fdea11d449d220db3d8bca40b38bde (patch) | |
tree | 0c2fe7df345868b56dfb3478ceb1b54a1e8eec29 /quantum/audio | |
parent | 8d0fdf10086a0e8a1615f0521fccf1f5a2806497 (diff) | |
parent | 49e72632d2200fc3bf71d5ced2aa43058da3b2e0 (diff) |
merging
Diffstat (limited to 'quantum/audio')
-rw-r--r-- | quantum/audio/voices.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c index 8326e91eaa..c2edb75f01 100644 --- a/quantum/audio/voices.c +++ b/quantum/audio/voices.c @@ -24,6 +24,7 @@ void voice_deiterate() { float voice_envelope(float frequency) { // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz + __attribute__ ((unused)) uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency)); switch (voice) { |