mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix synchronized clock change
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@425 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									656cf87993
								
							
						
					
					
						commit
						794033aa75
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -414,7 +414,7 @@ static void stream_get_latency_info_callback(struct pa_pdispatch *pd, uint32_t c
 | 
			
		|||
    } else {
 | 
			
		||||
        gettimeofday(&now, NULL);
 | 
			
		||||
        
 | 
			
		||||
        if (pa_timeval_cmp(&local, &remote) < 0 && pa_timeval_cmp(&remote, &now)) {
 | 
			
		||||
        if (pa_timeval_cmp(&local, &remote) < 0 && pa_timeval_cmp(&remote, &now) < 0) {
 | 
			
		||||
            /* local and remote seem to have synchronized clocks */
 | 
			
		||||
            
 | 
			
		||||
            if (o->stream->direction == PA_STREAM_PLAYBACK)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue