mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-22 18:45:01 +02:00
More efficient CTCSS tone generation.
This commit is contained in:
+3
-9
@@ -21,12 +21,6 @@
|
||||
|
||||
#include "Config.h"
|
||||
|
||||
struct CTCSS_TABLE {
|
||||
uint8_t m_frequency;
|
||||
uint16_t m_length;
|
||||
q15_t m_values[360U];
|
||||
};
|
||||
|
||||
class CFMCTCSSTX {
|
||||
public:
|
||||
CFMCTCSSTX();
|
||||
@@ -36,9 +30,9 @@ public:
|
||||
void getAudio(q15_t* samples, uint8_t length);
|
||||
|
||||
private:
|
||||
CTCSS_TABLE* m_entry;
|
||||
q15_t m_level;
|
||||
uint16_t m_n;
|
||||
q15_t* m_values;
|
||||
uint16_t m_length;
|
||||
uint16_t m_n;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user