mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	formats: Fix bad passsthrough check
Fixes breakage from commit adbdb6259b
			
			
This commit is contained in:
		
							parent
							
								
									814c0371a4
								
							
						
					
					
						commit
						358d92170a
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -299,7 +299,7 @@ int pa_source_output_new(
 | 
			
		|||
    pa_return_val_if_fail(pa_channel_map_compatible(&data->channel_map, &data->sample_spec), -PA_ERR_INVALID);
 | 
			
		||||
 | 
			
		||||
    /* Don't restore (or save) stream volume for passthrough streams */
 | 
			
		||||
    if (!pa_source_output_new_data_is_passthrough(data)) {
 | 
			
		||||
    if (pa_source_output_new_data_is_passthrough(data)) {
 | 
			
		||||
        data->volume_is_set = FALSE;
 | 
			
		||||
        data->volume_factor_is_set = FALSE;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue