use super::*;
#[derive(Clone, Copy, Data, Debug, New, PartialEq)]
pub struct AudioCommand {
#[get(type(copy))]
pub(crate) cue: SoundCue,
#[get(type(copy))]
pub(crate) volume: f32,
#[get(type(copy))]
pub(crate) pan: f32,
#[get(type(copy))]
pub(crate) pitch: f32,
}
#[derive(Clone, Data, Debug)]
pub struct AudioBus {
#[get(type(copy))]
pub(crate) master_volume: f32,
#[get(type(copy))]
pub(crate) muted: bool,
pub(crate) queue: Vec<AudioCommand>,
#[get(type(copy))]
pub(crate) total_played: u64,
}
#[derive(Clone, Copy, Data, Debug, New, PartialEq)]
pub struct AudioListener3D {
#[get(type(copy))]
pub(crate) position: Vec3,
#[get(type(copy))]
pub(crate) velocity: Vec3,
#[get(type(copy))]
pub(crate) right: Vec3,
}
#[derive(Clone, Copy, Data, Debug, PartialEq)]
pub struct SpatialAudioSource3D {
#[get(type(copy))]
pub(crate) cue: SoundCue,
#[get(type(copy))]
pub(crate) position: Vec3,
#[get(type(copy))]
pub(crate) velocity: Vec3,
#[get(type(copy))]
pub(crate) volume: f32,
#[get(type(copy))]
pub(crate) pitch: f32,
#[get(type(copy))]
pub(crate) min_distance: f32,
#[get(type(copy))]
pub(crate) max_distance: f32,
}