B:BD[
3.927] → [
3.927:992]
#[derive(Resource, Default)]
pub struct FundspBackendSettings {}
/// This resource is used to configure the audio backend at creation
///
/// It needs to be inserted before adding the [`FundspAudioPlugin`] and will be
/// consumed by it. Settings cannot be changed at run-time!
#[derive(Resource)]
pub struct FundspBackendSettings {
/// The number of commands that can be sent to the audio backend at a time.
///
/// Each action you take, like playing or pausing a sound
/// queues up one command.
///
/// Note that configuring a channel will cause one command per sound in the channel!
// NOTE We only allow 1 "sound" per channel.
command_capacity: usize,
/// The maximum number of sounds that can be playing at a time.
// TODO Check if this ends up being equal to the max number of channels
sound_capacity: usize,
}