chore(apu): satisfy clippy
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-07-15 22:58:23 -05:00
parent fd9a5b51ba
commit cc0cb0dd8a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ use std::collections::VecDeque;
pub struct AudioMPSC; pub struct AudioMPSC;
impl AudioMPSC { impl AudioMPSC {
pub fn new() -> (AudioSender<f32>, AudioReceiver<f32>) { pub fn init() -> (AudioSender<f32>, AudioReceiver<f32>) {
// TODO: Can we provide an upper limit for this? // TODO: Can we provide an upper limit for this?
// The larger this channel is, the more lag there is between the Audio and // The larger this channel is, the more lag there is between the Audio and
// Emulator // Emulator

View File

@ -66,7 +66,7 @@ fn main() -> Result<()> {
(pixels, egui) (pixels, egui)
}; };
let (send, recv) = AudioMPSC::new(); let (send, recv) = AudioMPSC::init();
game_boy.set_audio_src(send); game_boy.set_audio_src(send);
// Initialize Audio // Initialize Audio