Trait allegro_audio::MixerLike [−][src]
Provided methods
fn get_allegro_mixer(&self) -> *mut ALLEGRO_MIXER
[src]
fn play_sample(
&mut self,
sample: &Sample,
gain: f32,
pan: Option<f32>,
speed: f32,
playmode: Playmode
) -> Result<SampleInstance, ()>
[src]
&mut self,
sample: &Sample,
gain: f32,
pan: Option<f32>,
speed: f32,
playmode: Playmode
) -> Result<SampleInstance, ()>
fn get_frequency(&self) -> u32
[src]
fn get_gain(&self) -> f32
[src]
fn get_quality(&self) -> MixerQuality
[src]
fn get_channels(&self) -> ChannelConf
[src]
fn get_depth(&self) -> AudioDepth
[src]
fn get_playing(&self) -> bool
[src]
fn get_attached(&self) -> bool
[src]
fn set_playing(&self, playing: bool) -> Result<(), ()>
[src]
fn set_gain(&self, gain: f32) -> Result<(), ()>
[src]
fn set_frequency(&self, freq: u32) -> Result<(), ()>
[src]
fn set_quality(&self, quality: MixerQuality) -> Result<(), ()>
[src]
fn set_postprocess_callback(
&mut self,
cb: Option<Box<dyn PostProcessCallback + Send>>
) -> Result<(), ()>
[src]
&mut self,
cb: Option<Box<dyn PostProcessCallback + Send>>
) -> Result<(), ()>