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