mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: restart timer when write begin
This commit is contained in:
		
							parent
							
								
									362d196093
								
							
						
					
					
						commit
						018cadd337
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1126,6 +1126,8 @@ static void thread_func(void *userdata) {
 | 
			
		|||
                }
 | 
			
		||||
 | 
			
		||||
                if (writable && do_write) {
 | 
			
		||||
                    if (u->write_index == 0)
 | 
			
		||||
                        u->started_at = pa_rtclock_usec();
 | 
			
		||||
 | 
			
		||||
                    if (u->profile == PROFILE_A2DP) {
 | 
			
		||||
                        if (a2dp_process_render(u) < 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue