pub struct Ay { /* private fields */ }Expand description
Ay audio type
Trait Implementations§
Source§impl AudioExt for Ay
impl AudioExt for Ay
Source§fn set_volume(&mut self, volume: f32)
fn set_volume(&mut self, volume: f32)
Sets the volume
Source§fn set_looping(&mut self, flag: bool)
fn set_looping(&mut self, flag: bool)
Set whether the audio is looping
Source§fn set_auto_stop(&mut self, flag: bool)
fn set_auto_stop(&mut self, flag: bool)
Set auto stop
Source§fn set_3d_min_max_distance(&mut self, min_distance: f32, max_distance: f32)
fn set_3d_min_max_distance(&mut self, min_distance: f32, max_distance: f32)
Set 3D min and max distances
Source§fn set_3d_attenuation(&mut self, model: AttenuationModel, rolloff_factor: f32)
fn set_3d_attenuation(&mut self, model: AttenuationModel, rolloff_factor: f32)
Set 3D attenuation
Source§fn set_3d_doppler_factor(&mut self, doppler_factor: f32)
fn set_3d_doppler_factor(&mut self, doppler_factor: f32)
Set 3D doppler factor
Source§fn set_3d_listener_relative(&mut self, flag: bool)
fn set_3d_listener_relative(&mut self, flag: bool)
Set 3D listener relative
Source§fn set_3d_distance_delay(&mut self, distance_delay: i32)
fn set_3d_distance_delay(&mut self, distance_delay: i32)
Set 3D distance delay
Source§fn set_inaudible_behavior(&mut self, must_tick: bool, kill: bool)
fn set_inaudible_behavior(&mut self, must_tick: bool, kill: bool)
Set inaudible behavior
Source§fn set_loop_point(&mut self, loop_point: f64)
fn set_loop_point(&mut self, loop_point: f64)
Set a loop point
Source§fn loop_point(&self) -> f64
fn loop_point(&self) -> f64
Get the loop point
impl Send for Ay
impl Sync for Ay
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more