mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	A few minor cleanups and updates
This commit is contained in:
		
							parent
							
								
									aff7768fb1
								
							
						
					
					
						commit
						e5c093897e
					
				
					 5 changed files with 21 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -545,9 +545,9 @@ static int update_sw_params(struct userdata *u) {
 | 
			
		|||
            u->hwbuf_unused_frames = (snd_pcm_sframes_t)
 | 
			
		||||
                (PA_LIKELY(b < u->hwbuf_size) ?
 | 
			
		||||
                 ((u->hwbuf_size - b) / u->frame_size) : 0);
 | 
			
		||||
 | 
			
		||||
            fix_tsched_watermark(u);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        fix_tsched_watermark(u);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pa_log_debug("hwbuf_unused_frames=%lu", (unsigned long) u->hwbuf_unused_frames);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue