Skip to main content

dtmf_sequence

Function dtmf_sequence 

Source
pub fn dtmf_sequence(
    digit: u8,
    duration_ms: u32,
    clock_rate: u32,
) -> Vec<DtmfPacket>
Expand description

Packet sequence for one digit: interims + End ×3, marker on the first. duration_ms/clock_rate are untrusted — clamped to u16::MAX wire ticks.