Trait oxygengine_audio::resource::Audio [−][src]
Required methods
fn create_source(
&mut self,
entity: Entity,
data: &[u8],
streaming: bool,
looped: bool,
playback_rate: Scalar,
volume: Scalar,
play: bool,
notify_ready: Arc<AtomicBool>
)
[src]
&mut self,
entity: Entity,
data: &[u8],
streaming: bool,
looped: bool,
playback_rate: Scalar,
volume: Scalar,
play: bool,
notify_ready: Arc<AtomicBool>
)
fn destroy_source(&mut self, entity: Entity)
[src]
fn has_source(&mut self, entity: Entity) -> bool
[src]
fn update_source(
&mut self,
entity: Entity,
looped: bool,
playback_rate: Scalar,
volume: Scalar,
play: Option<bool>
)
[src]
&mut self,
entity: Entity,
looped: bool,
playback_rate: Scalar,
volume: Scalar,
play: Option<bool>
)