[][src]Function opus_headers::parse_from_file

pub fn parse_from_file(file: &File) -> Result<OpusHeaders>

Parses an opus file given by the file parameter. Either returns the Opus Headers, or an error if anything goes wrong. This should not panic.