mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: fix #NOKIA, correctly unlink sink/src
This commit is contained in:
		
							parent
							
								
									5b523d097c
								
							
						
					
					
						commit
						a7246bd635
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1718,16 +1718,16 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
 | 
			
		|||
        inputs = pa_sink_move_all_start(u->sink);
 | 
			
		||||
#ifdef NOKIA
 | 
			
		||||
        if (!USE_SCO_OVER_PCM(u))
 | 
			
		||||
            pa_sink_unlink(u->sink);
 | 
			
		||||
#endif
 | 
			
		||||
            pa_sink_unlink(u->sink);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (u->source) {
 | 
			
		||||
        outputs = pa_source_move_all_start(u->source);
 | 
			
		||||
#ifdef NOKIA
 | 
			
		||||
        if (!USE_SCO_OVER_PCM(u))
 | 
			
		||||
            pa_source_unlink(u->source);
 | 
			
		||||
#endif
 | 
			
		||||
            pa_source_unlink(u->source);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    stop_thread(u);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue