Struct audrey::read::Description [] [src]

pub struct Description { /* fields omitted */ }

A description of the audio format that was read from file.

Methods

impl Description
[src]

The format from which the audio will be read.

The number of channels of audio.

E.g. For audio stored in stereo this should return 2. Mono audio will return 1.

The rate in Hertz at which each channel of the stored audio is sampled.

E.g. A sample_rate of 44_100 indicates that the audio is sampled 44_100 times per second per channel.

Trait Implementations

impl Copy for Description
[src]

impl Clone for Description
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Description
[src]

Formats the value using the given formatter.

impl PartialEq for Description
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Description
[src]