mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-09-24 14:58:30 -04:00
Const/pass-by-reference a bunch more baseband stuff.
This commit is contained in:
parent
3ed77af0c1
commit
ef315f0d92
22 changed files with 28 additions and 28 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
}
|
||||
|
||||
template<typename Callback>
|
||||
void process(buffer_c8_t buffer, Callback callback) {
|
||||
void process(const buffer_c8_t& buffer, Callback callback) {
|
||||
samples += buffer.count;
|
||||
|
||||
const size_t report_samples = buffer.sampling_rate * report_interval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue