mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-25 05:47:44 +00:00
Added Nuoptix DTMF sync transmit (Disney parades, light shows...)
Soundboard ignores stereo files
This commit is contained in:
@@ -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:
|
||||
|
@@ -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' };
|
||||
|
||||
|
Reference in New Issue
Block a user