From: Jack Humbert Date: Mon, 18 Apr 2016 01:26:06 +0000 (-0400) Subject: audio fixes X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=89a78f4a11a8f04777b3407c958dc989b4d7d884;p=qmk_firmware.git audio fixes --- diff --git a/quantum/audio.c b/quantum/audio.c index 5805da46c..69c58ca6c 100644 --- a/quantum/audio.c +++ b/quantum/audio.c @@ -351,7 +351,7 @@ void play_notes(float (*np)[][2], uint8_t n_count, bool n_repeat, float n_rest) if (audio_config.enable) { - if (note || notes) + if (note) stop_all_notes(); notes = true; @@ -406,7 +406,7 @@ void play_note(double freq, int vol) { if (audio_config.enable && voices < 8) { - if (note || notes) + if (notes) stop_all_notes(); note = true; #ifdef PWM_AUDIO