mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	add a comment that pa_sink_input_set_volume and module-flat-volume.c are related
This commit is contained in:
		
							parent
							
								
									9f4033d1c4
								
							
						
					
					
						commit
						b6ccea3064
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -805,6 +805,10 @@ void pa_sink_input_set_volume(pa_sink_input *i, const pa_cvolume *volume) {
 | 
				
			||||||
    data.virtual_volume = *volume;
 | 
					    data.virtual_volume = *volume;
 | 
				
			||||||
    data.volume = *volume;
 | 
					    data.volume = *volume;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* If you change something here, consider looking into
 | 
				
			||||||
 | 
					     * module-flat-volume.c as well since it uses very similar
 | 
				
			||||||
 | 
					     * code. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_SET_VOLUME], &data) < 0)
 | 
					    if (pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_SET_VOLUME], &data) < 0)
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue