mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	card-restore: Log the restored profile name.
This commit is contained in:
		
							parent
							
								
									0f44b1e820
								
							
						
					
					
						commit
						bf962a2600
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -377,8 +377,8 @@ static pa_hook_result_t card_new_hook_callback(pa_core *c, pa_card_new_data *new
 | 
			
		|||
 | 
			
		||||
    if (e->profile[0]) {
 | 
			
		||||
        if (!new_data->active_profile) {
 | 
			
		||||
            pa_log_info("Restoring profile for card %s.", new_data->name);
 | 
			
		||||
            pa_card_new_data_set_profile(new_data, e->profile);
 | 
			
		||||
            pa_log_info("Restored profile '%s' for card %s.", new_data->active_profile, new_data->name);
 | 
			
		||||
            new_data->save_profile = TRUE;
 | 
			
		||||
 | 
			
		||||
        } else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue