pub struct WavReader { /* private fields */ }
Expand description

WAVE (WAV) format reader.

WavReader implements a demuxer for the WAVE container format.

Trait Implementations

Attempt to instantiate a FormatReader using the provided FormatOptions and MediaSourceStream. The reader will probe the container to verify format support, determine the number of tracks, and read any initial metadata. Read more

Get the next packet from the container. Read more

Gets the metadata revision log.

Gets a list of all Cues.

Gets a list of tracks in the container.

Seek, as precisely as possible depending on the mode, to the Time or track TimeStamp requested. Returns the requested and actual TimeStamps seeked to, as well as the Track. Read more

Destroys the FormatReader and returns the underlying media source stream

Gets the default track. If the FormatReader has a method of determining the default track, this function should return it. Otherwise, the first track is returned. If no tracks are present then None is returned. Read more

Returns a list of descriptors.

Using the provided context buffer, score calculate and returns a value between 0 and 255 indicating the confidence of the reader in decoding or parsing the source stream. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.