Trait ggez::audio::AudioOps
[−]
[src]
pub trait AudioOps { fn new_channel() -> Channel; fn play_sound(&self, sound: &Sound) -> GameResult<Channel>; fn pause(&self); fn stop(&self); fn resume(&self); fn rewind(&self); }
A trait for general operations on sound objects.
Required Methods
fn new_channel() -> Channel
fn play_sound(&self, sound: &Sound) -> GameResult<Channel>
fn pause(&self)
fn stop(&self)
fn resume(&self)
fn rewind(&self)
Implementors
impl AudioOps for Channel