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]

[src]

The format from which the audio will be read.

[src]

The number of channels of audio.

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

[src]

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Description
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Description
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Description
[src]