mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	when changing volume, store whether it is worth remembering or no
This commit is contained in:
		
							parent
							
								
									ee17772cea
								
							
						
					
					
						commit
						64b0543588
					
				
					 15 changed files with 70 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -177,7 +177,7 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
 | 
			
		|||
 | 
			
		||||
            if (inputs) {
 | 
			
		||||
                if (u->sink)
 | 
			
		||||
                    pa_sink_move_all_finish(u->sink, inputs);
 | 
			
		||||
                    pa_sink_move_all_finish(u->sink, inputs, FALSE);
 | 
			
		||||
                else
 | 
			
		||||
                    pa_sink_move_all_fail(inputs);
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			@ -200,7 +200,7 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) {
 | 
			
		|||
 | 
			
		||||
            if (outputs) {
 | 
			
		||||
                if (u->source)
 | 
			
		||||
                    pa_source_move_all_finish(u->source, outputs);
 | 
			
		||||
                    pa_source_move_all_finish(u->source, outputs, FALSE);
 | 
			
		||||
                else
 | 
			
		||||
                    pa_source_move_all_fail(outputs);
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue