[][src]Function opus_headers::parse_from_path

pub fn parse_from_path<P: AsRef<Path>>(path: P) -> Result<OpusHeaders>

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