Module bevy_internal::audio::prelude
source · Structs
- Used to control audio during playback.
- A source of audio data
- Bundle for playing a sound.
- Use this
Resource
to control the global volume of all audio. - A source of sine wave sound
- Initial settings to be used when audio starts playing. If you would like to control the audio while it is playing, query for the
AudioSink
orSpatialAudioSink
components. Changes to this component will not be applied to already-playing audio. - Used to control spatial audio during playback.
- Settings for the listener for spatial audio sources.
Traits
- Common interactions with an audio sink.
- A type implementing this trait can be converted to a
rodio::Source
type. It must beSend
andSync
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 exampledecodable
for how to implement this trait on a custom type.
Type Aliases
- Bundle for playing a standard bevy audio asset
- Bundle for playing a bevy note sound