mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	stream_started_callback userdata bug
Hello I came across a bug where the userdata parameter of the stream_started_callback was always NULL in some cases. I couldn't seem to make a ticket, so here's the one line patch: Signed-off-by: Lennart Poettering <lennart@poettering.net>
This commit is contained in:
		
							parent
							
								
									636b520d74
								
							
						
					
					
						commit
						f6670a1f2e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -557,7 +557,7 @@ void pa_command_stream_started(pa_pdispatch *pd, uint32_t command, uint32_t tag,
 | 
				
			||||||
    request_auto_timing_update(s, TRUE);
 | 
					    request_auto_timing_update(s, TRUE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (s->started_callback)
 | 
					    if (s->started_callback)
 | 
				
			||||||
        s->started_callback(s, s->suspended_userdata);
 | 
					        s->started_callback(s, s->started_userdata);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
finish:
 | 
					finish:
 | 
				
			||||||
    pa_context_unref(c);
 | 
					    pa_context_unref(c);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue