mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	remove redundant check
This commit is contained in:
		
							parent
							
								
									85b83e8e8c
								
							
						
					
					
						commit
						2c5a33d9d8
					
				
					 1 changed files with 6 additions and 9 deletions
				
			
		| 
						 | 
					@ -604,15 +604,12 @@ void pa_command_overflow_or_underflow(pa_pdispatch *pd, uint32_t command, PA_GCC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    request_auto_timing_update(s, TRUE);
 | 
					    request_auto_timing_update(s, TRUE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (s->state == PA_STREAM_READY) {
 | 
					    if (command == PA_COMMAND_OVERFLOW) {
 | 
				
			||||||
 | 
					        if (s->overflow_callback)
 | 
				
			||||||
        if (command == PA_COMMAND_OVERFLOW) {
 | 
					            s->overflow_callback(s, s->overflow_userdata);
 | 
				
			||||||
            if (s->overflow_callback)
 | 
					    } else if (command == PA_COMMAND_UNDERFLOW) {
 | 
				
			||||||
                s->overflow_callback(s, s->overflow_userdata);
 | 
					        if (s->underflow_callback)
 | 
				
			||||||
        } else if (command == PA_COMMAND_UNDERFLOW) {
 | 
					            s->underflow_callback(s, s->underflow_userdata);
 | 
				
			||||||
            if (s->underflow_callback)
 | 
					 | 
				
			||||||
                s->underflow_callback(s, s->underflow_userdata);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 finish:
 | 
					 finish:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue