You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Decodable, the documentation is very unclear, circular, and does not describe the actual functionality of the trait and its associated types.
Decodable is a type that can be converted to a rodio::Source type. It is usually paired with the Asset type from bevy_asset, and therefore must be Send, Sync, and implement TypeUuid. Generally this is raw sound data that can be converted to an iterator of samples.
Decodable::Decoder is an iterator of samples. In rodio, this is an iterator of u16, i16, and f32. See rodio::Source for more information.
Activity
dis-da-mor commentedon Nov 16, 2022
Working on this.
Add `AddAudioSource` trait and improve `Decodable` docs (#6649)
Add `AddAudioSource` trait and improve `Decodable` docs (bevyengine#6649
Add `AddAudioSource` trait and improve `Decodable` docs (bevyengine#6649
Squashed commit of the following: