mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	sink/source.h: Clarify set_port comment
State which thread calls set_port in which scenario. Reported-by: Jyri Sasha <oku@iki.fi> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
		
							parent
							
								
									9e55b29c28
								
							
						
					
					
						commit
						38b24e40fc
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -174,8 +174,8 @@ struct pa_source {
 | 
			
		|||
     * thread context. */
 | 
			
		||||
    pa_source_cb_t update_requested_latency; /* may be NULL */
 | 
			
		||||
 | 
			
		||||
    /* Called whenever the port shall be changed. Called from main
 | 
			
		||||
     * thread. */
 | 
			
		||||
    /* Called whenever the port shall be changed. Called from IO
 | 
			
		||||
     * thread if deferred volumes are enabled, and main thread otherwise. */
 | 
			
		||||
    int (*set_port)(pa_source *s, pa_device_port *port); /*ditto */
 | 
			
		||||
 | 
			
		||||
    /* Called to get the list of formats supported by the source, sorted
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue