[][src]Crate opus_headers

Structs

ChannelMappingTable

This part is optionally included in the IdentificationHeader

CommentHeader

The Comment header containing a vendor string and the user comments as a map.

IdentificationHeader

The identification header.

OpusHeaders

Both headers contained in an opus file.

Enums

ParseError

A stream parsing error.

Functions

parse_from_file

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.

parse_from_path

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

parse_from_read

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

Type Definitions

Result

A specialized Result type for the fallible functions.