mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-15 18:00:28 -04:00
...and more pass-by-reference.
Another 176 bytes!
This commit is contained in:
parent
05a1c22426
commit
359fb6f3c6
4 changed files with 6 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue