Allow for the fine adjustment of levels.

This commit is contained in:
Jonathan Naylor
2016-06-20 22:03:54 +01:00
parent 1c70de5aee
commit a3ea870b52
7 changed files with 166 additions and 21 deletions
+5
View File
@@ -32,11 +32,16 @@ public:
void process();
void setTXDelay(uint8_t delay);
void setLevels(int8_t level1, int8_t level3);
uint16_t getSpace() const;
private:
CSerialRB m_buffer;
q15_t m_levelA[5U];
q15_t m_levelB[5U];
q15_t m_levelC[5U];
q15_t m_levelD[5U];
arm_fir_instance_q15 m_modFilter;
q15_t m_modState[70U]; // NoTaps + BlockSize - 1, 42 + 20 - 1 plus some spare
uint8_t m_poBuffer[720U];