mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 17:49:14 -04:00
Use BasebandProcessor::mute_audio(), remove I2S #include dependencies.
This commit is contained in:
parent
ef6ae8ed94
commit
222b878629
5 changed files with 9 additions and 23 deletions
|
@ -23,9 +23,6 @@
|
|||
|
||||
#include "event_m4.hpp"
|
||||
|
||||
#include "i2s.hpp"
|
||||
using namespace lpc43xx;
|
||||
|
||||
#include "dsp_fft.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
|
@ -65,7 +62,7 @@ void WidebandSpectrum::execute(const buffer_c8_t& buffer) {
|
|||
phase++;
|
||||
}
|
||||
|
||||
i2s::i2s0::tx_mute();
|
||||
mute_audio();
|
||||
}
|
||||
|
||||
void WidebandSpectrum::on_message(const Message* const message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue