Const/pass-by-reference a bunch more baseband stuff.

This commit is contained in:
Jared Boone 2015-12-10 12:36:12 -08:00
parent 3ed77af0c1
commit ef315f0d92
22 changed files with 28 additions and 28 deletions

View file

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