address some compiler warnings. oopsie
This commit is contained in:
parent
6b7b525597
commit
933811f705
|
@ -185,10 +185,10 @@ impl AudioQueue {
|
||||||
device.play_buffer_on_channel(channel, &buffer, loops)?;
|
device.play_buffer_on_channel(channel, &buffer, loops)?;
|
||||||
},
|
},
|
||||||
PlayGenerator { generator, loops } => {
|
PlayGenerator { generator, loops } => {
|
||||||
device.play_generator(generator, loops);
|
device.play_generator(generator, loops)?;
|
||||||
},
|
},
|
||||||
PlayGeneratorOnChannel { channel, generator, loops } => {
|
PlayGeneratorOnChannel { channel, generator, loops } => {
|
||||||
device.play_generator_on_channel(channel, generator, loops);
|
device.play_generator_on_channel(channel, generator, loops)?;
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -252,7 +252,7 @@ impl SystemBuilder {
|
||||||
};
|
};
|
||||||
let mut audio = Audio::new(audio_spec, &sdl_audio_subsystem)?;
|
let mut audio = Audio::new(audio_spec, &sdl_audio_subsystem)?;
|
||||||
audio.resume();
|
audio.resume();
|
||||||
let mut audio_queue = AudioQueue::from(&audio);
|
let audio_queue = AudioQueue::from(&audio);
|
||||||
|
|
||||||
// create input device objects, exposed to the application
|
// create input device objects, exposed to the application
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue