Trait rusty_chip8::Audio
source · pub trait Audio {
fn start_beep(&mut self);
fn stop_beep(&mut self);
}
Expand description
Audio abstraction for Chip8.
Clients are supposed to implement this trait in accordance with the sound library used.
Required Methods§
sourcefn start_beep(&mut self)
fn start_beep(&mut self)
Starts the beep sound.