mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 10:09:25 -04:00
Un-static squelch history.
This commit is contained in:
parent
64966d4539
commit
e169a46367
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,6 @@ void AudioOutput::write(
|
|||
hpf.execute_in_place(audio);
|
||||
deemph.execute_in_place(audio);
|
||||
|
||||
static uint64_t audio_present_history = 0;
|
||||
audio_present_history = (audio_present_history << 1) | (audio_present_now ? 1 : 0);
|
||||
const bool audio_present = (audio_present_history != 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue