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: