Struct afi::Audio

source ·
pub struct Audio {
Show 15 fields pub title: String, pub artist: String, pub album_artist: String, pub album: String, pub cd: String, pub release: String, pub track_number: String, pub track_count: String, pub genre: String, pub comment: String, pub composer: String, pub orig_artist: String, pub copyright: String, pub url: String, pub encoded_by: String, /* private fields */
}
Expand description

An Audio Buffer (48kHz/48,000hz).

Fields§

§title: String

Title

§artist: String

Artist / Author

§album_artist: String

Album Artist

§album: String

Album

§cd: String

CD

§release: String

Release Date / Release Year

§track_number: String

Track #

§track_count: String

Track Count

§genre: String

Genre

§comment: String

Comment

§composer: String

Composer

§orig_artist: String

Original artist

§copyright: String

Copyright / License

§url: String

Artist Website / URL

§encoded_by: String

Encoded By

Implementations§

Create a new Audio.

Returns audio for the next frame on the Queue.

Return the number of frames in the audio.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.