chore(apu): satisfy clippy
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fd9a5b51ba
commit
cc0cb0dd8a
|
@ -6,7 +6,7 @@ use std::collections::VecDeque;
|
|||
pub struct 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?
|
||||
// The larger this channel is, the more lag there is between the Audio and
|
||||
// Emulator
|
||||
|
|
|
@ -66,7 +66,7 @@ fn main() -> Result<()> {
|
|||
(pixels, egui)
|
||||
};
|
||||
|
||||
let (send, recv) = AudioMPSC::new();
|
||||
let (send, recv) = AudioMPSC::init();
|
||||
game_boy.set_audio_src(send);
|
||||
|
||||
// Initialize Audio
|
||||
|
|
Loading…
Reference in New Issue