mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-19 10:41:51 +00:00
...and more pass-by-reference.
Another 176 bytes!
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <cstdint>
|
||||
#include <array>
|
||||
|
||||
bool FMSquelch::execute(buffer_s16_t audio) {
|
||||
bool FMSquelch::execute(const buffer_s16_t& audio) {
|
||||
// TODO: No hard-coded array size.
|
||||
std::array<int16_t, N> squelch_energy_buffer;
|
||||
const buffer_s16_t squelch_energy {
|
||||
|
Reference in New Issue
Block a user