Type Alias bevy_kira_components::AudioSettings
source · pub type AudioSettings = AudioManagerSettings<AudioBackend>;
Expand description
Type of settings for the audio engine. Insert it as a resource before adding the plugin to change the default settings.
Aliased Type§
struct AudioSettings {
pub capacities: Capacities,
pub main_track_builder: TrackBuilder,
pub backend_settings: AudioBackendSelector,
}
Fields§
§capacities: Capacities
Specifies how many of each resource type an audio context can have.
main_track_builder: TrackBuilder
Configures the main mixer track.
backend_settings: AudioBackendSelector
Configures the backend.