Struct allegro_audio::SampleInstance
[−]
[src]
pub struct SampleInstance { /* fields omitted */ }
pub struct SampleInstance { /* fields omitted */ }
impl SampleInstance
[src]fn new(_: &AudioAddon) -> Result<SampleInstance, ()>
fn set_sample(&mut self, sample: &Sample) -> Result<(), ()>
fn set_position(&self, position: u32) -> Result<(), ()>
fn set_length(&self, length: u32) -> Result<(), ()>
fn set_playing(&self, playing: bool) -> Result<(), ()>
fn set_gain(&self, gain: f32) -> Result<(), ()>
fn set_pan(&self, pan: Option<f32>) -> Result<(), ()>
fn set_speed(&self, speed: f32) -> Result<(), ()>
fn set_playmode(&self, playmode: Playmode) -> Result<(), ()>
fn get_frequency(&self) -> Result<u32, ()>
fn get_length(&self) -> Result<u32, ()>
fn get_position(&self) -> Result<u32, ()>
fn get_speed(&self) -> Result<f32, ()>
fn get_gain(&self) -> Result<f32, ()>
fn get_pan(&self) -> Result<f32, ()>
fn get_time(&self) -> Result<f32, ()>
fn get_playmode(&self) -> Result<Playmode, ()>
fn get_channels(&self) -> Result<ChannelConf, ()>
fn get_depth(&self) -> Result<AudioDepth, ()>
fn get_playing(&self) -> Result<bool, ()>
fn get_attached(&self) -> Result<bool, ()>
fn get_allegro_sample_instance(&self) -> *mut ALLEGRO_SAMPLE_INSTANCE
impl Drop for SampleInstance
[src]impl AttachToMixer for SampleInstance
[src]