Structs
- Use this
Resource
to play audio. - Used internally to play audio on the current “audio device”
- Asset controlling the playback of a sound
- A source of audio data
- Settings to control playback from the start.
- Asset controlling the playback of a sound, or the locations of its listener and emitter.
Traits
- Common interactions with an audio sink.
- A type implementing this trait can be converted to a
rodio::Source
type. It must beSend
andSync
, and usually implementsAsset
so needs to beTypeUuid
, in order to be registered. Types that implement this trait usually contain raw sound data that can be converted into an iterator of samples. This trait is implemented forAudioSource
. Check the exampleaudio/decodable
for how to implement this trait on a custom type.