mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-19 03:38:05 -04:00
Added Nuoptix DTMF sync transmit (Disney parades, light shows...)
Soundboard ignores stereo files
This commit is contained in:
parent
d049553750
commit
bb29efeda6
15 changed files with 620 additions and 44 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue