mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Jack: Added missing lock to jack API call
This commit is contained in:
		
							parent
							
								
									51e0720113
								
							
						
					
					
						commit
						3d5b9ce3e8
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -408,8 +408,9 @@ int jack_set_property_change_callback (jack_client_t*             client,
 | 
			
		|||
	struct client *c = (struct client *) client;
 | 
			
		||||
 | 
			
		||||
	spa_return_val_if_fail(c != NULL, -EINVAL);
 | 
			
		||||
 | 
			
		||||
	pw_thread_loop_lock(c->context.loop);
 | 
			
		||||
	c->property_callback = callback;
 | 
			
		||||
	c->property_arg = arg;
 | 
			
		||||
	pw_thread_loop_unlock(c->context.loop);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue