mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	use cloexec wrappers wherever applicable
This commit is contained in:
		
							parent
							
								
									9c1a98953f
								
							
						
					
					
						commit
						65e7bc18a9
					
				
					 25 changed files with 39 additions and 91 deletions
				
			
		| 
						 | 
				
			
			@ -1342,7 +1342,7 @@ static void propagate_reference_volume(pa_sink *s) {
 | 
			
		|||
void pa_sink_set_volume(
 | 
			
		||||
        pa_sink *s,
 | 
			
		||||
        const pa_cvolume *volume,
 | 
			
		||||
        pa_bool_t sendmsg,
 | 
			
		||||
        pa_bool_t send_msg,
 | 
			
		||||
        pa_bool_t save) {
 | 
			
		||||
 | 
			
		||||
    pa_cvolume old_reference_volume;
 | 
			
		||||
| 
						 | 
				
			
			@ -1411,7 +1411,7 @@ void pa_sink_set_volume(
 | 
			
		|||
        s->soft_volume = s->real_volume;
 | 
			
		||||
 | 
			
		||||
    /* This tells the sink that soft and/or virtual volume changed */
 | 
			
		||||
    if (sendmsg)
 | 
			
		||||
    if (send_msg)
 | 
			
		||||
        pa_assert_se(pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SINK_MESSAGE_SET_VOLUME, NULL, 0, NULL) == 0);
 | 
			
		||||
 | 
			
		||||
    if (reference_changed)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue