Module decoder

Module decoder 

Source
Expand description

Module holding all the nitty-gritty decoding details.

Contains the code that uses ffmpeg to decode songs in the ffmpeg submodule.

Also holds the Decoder trait, that you can use to decode songs with the ffmpeg struct that implements that trait, or implement it for other decoders if you do not wish to use ffmpeg, but something else (GStreamer, symphonia…). Using the ffmpeg struct as a reference to implement other decoders is probably a good starting point.

Modules§

ffmpeg
The default decoder module. It uses ffmpeg in order to decode and resample songs. A very good choice for 99% of the users.

Structs§

PreAnalyzedSong
A struct used to represent a song that has been decoded, but not analyzed yet.

Traits§

Decoder
Trait used to implement your own decoder.