Skip to main content

validate_g711_frame

Function validate_g711_frame 

Source
pub fn validate_g711_frame(
    samples: &[i16],
    expected_frame_size: usize,
) -> Result<()>
Expand description

Validate G.711 specific parameters

ยงErrors

Returns an error when the frame is empty or has the wrong sample count.