mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	core: sample_spec.rate is in Hz, not kHz; change logging output
This commit is contained in:
		
							parent
							
								
									49fd49f21f
								
							
						
					
					
						commit
						638b0264e0
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -1316,7 +1316,7 @@ pa_bool_t pa_sink_update_rate(pa_sink *s, uint32_t rate, pa_bool_t passthrough)
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
        if (PA_SINK_IS_RUNNING(s->state)) {
 | 
			
		||||
            pa_log_info("Cannot update rate, SINK_IS_RUNNING, will keep using %u kHz",
 | 
			
		||||
            pa_log_info("Cannot update rate, SINK_IS_RUNNING, will keep using %u Hz",
 | 
			
		||||
                        s->sample_spec.rate);
 | 
			
		||||
            return FALSE;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue