Struct sfml_modstream::ModStream
[−]
[src]
pub struct ModStream { /* fields omitted */ }
Methods
impl ModStream
[src]
Trait Implementations
impl SoundStream for ModStream
[src]
fn get_data(&mut self) -> (&mut [i16], bool)
Request a new chunk of audio samples from the stream source. Read more
fn seek(&mut self, offset: Time)
Change the current playing position in the stream source.
fn sample_rate(&self) -> u32
Get the stream sample rate of the stream.
fn channel_count(&self) -> u32
Return the number of channels of the stream.