...and more pass-by-reference.

Another 176 bytes!
This commit is contained in:
Jared Boone 2016-01-04 11:04:28 -08:00
parent 05a1c22426
commit 359fb6f3c6
4 changed files with 6 additions and 6 deletions

View file

@ -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 {