[][src]Trait prototty_audio::AudioPlayer

pub trait AudioPlayer {
    type Sound;
    fn play(&self, sound: &Self::Sound, properties: AudioProperties);
fn load_sound(&self, bytes: &'static [u8]) -> Self::Sound; }

Associated Types

type Sound

Loading content...

Required methods

fn play(&self, sound: &Self::Sound, properties: AudioProperties)

fn load_sound(&self, bytes: &'static [u8]) -> Self::Sound

Loading content...

Implementors

Loading content...