(almost) One loop to rule all the samples

Avoid looping over and over the samples. One
This commit is contained in:
Geoffrey Merck 2020-04-21 20:38:02 +02:00
parent 87c3b57ae4
commit 8d340cbfba
9 changed files with 78 additions and 43 deletions

View file

@ -32,6 +32,8 @@ public:
void getAudio(q15_t* samples, uint8_t length);
q15_t getAudio(q15_t sample);
private:
q15_t m_level;
bool m_running;