mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: move installation of mq's earlier to avoid context asserts to be triggered
This commit is contained in:
		
							parent
							
								
									de4968cdde
								
							
						
					
					
						commit
						2a39663ab6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1262,11 +1262,11 @@ static void thread_func(void *userdata) {
 | 
			
		|||
    if (u->core->realtime_scheduling)
 | 
			
		||||
        pa_make_realtime(u->core->realtime_priority);
 | 
			
		||||
 | 
			
		||||
    pa_thread_mq_install(&u->thread_mq);
 | 
			
		||||
 | 
			
		||||
    if (start_stream_fd(u) < 0)
 | 
			
		||||
        goto fail;
 | 
			
		||||
 | 
			
		||||
    pa_thread_mq_install(&u->thread_mq);
 | 
			
		||||
 | 
			
		||||
    for (;;) {
 | 
			
		||||
        struct pollfd *pollfd;
 | 
			
		||||
        int ret;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue