Struct p25::voice::frame::VoiceFrame [] [src]

pub struct VoiceFrame {
    pub chunks: [u32; 8],
    pub errors: [usize; 7],
}

IMBE-encoded voice frame.

Fields

Chunks of IMBE-prioritized data, Known as u_0, ..., u_7 in the standard.

Number of FEC errors detected for each associated chunk u_0, ..., u_6.

Methods

impl VoiceFrame
[src]

[src]

Try to decode a VoiceFrame from the given coded, PN-scrambled, interleaved dibits. Return Ok(frame) if the frame was successfully decoded, and Err(err) otherwise.