Added Nuoptix DTMF sync transmit (Disney parades, light shows...)

Soundboard ignores stereo files
This commit is contained in:
furrtek
2016-09-23 17:34:50 +02:00
parent d049553750
commit bb29efeda6
15 changed files with 620 additions and 44 deletions

View File

@@ -75,6 +75,7 @@ public:
RDSConfigure = 26,
AudioTXConfig = 27,
POCSAGConfigure = 28,
DTMFTXConfig = 29,
POCSAGPacket = 30,
@@ -633,6 +634,24 @@ public:
const uint32_t rate;
};
class DTMFTXConfigMessage : public Message {
public:
constexpr DTMFTXConfigMessage(
const uint32_t bw,
const uint32_t tone_length,
const uint32_t pause_length
) : Message { ID::DTMFTXConfig },
bw(bw),
tone_length(tone_length),
pause_length(pause_length)
{
}
const uint32_t bw;
const uint32_t tone_length;
const uint32_t pause_length;
};
// TODO: use streaming buffer instead
class FIFOSignalMessage : public Message {
public:

View File

@@ -79,6 +79,7 @@ constexpr image_tag_t image_tag_epar { 'P', 'E', 'P', 'R' };
constexpr image_tag_t image_tag_xylos { 'P', 'X', 'Y', 'L' };
constexpr image_tag_t image_tag_rds { 'P', 'R', 'D', 'S' };
constexpr image_tag_t image_tag_ook { 'P', 'O', 'O', 'K' };
constexpr image_tag_t image_tag_dtmf_tx { 'P', 'D', 'T', 'X' };
constexpr image_tag_t image_tag_hackrf { 'H', 'R', 'F', '1' };