chore(apu): satisfy clippy
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user