mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Again make sure that the wait() definition is not shadowed.
Rename the parameter in pa_asyncmsgq_get() to wait_op.
This commit is contained in:
		
							parent
							
								
									542607f4c6
								
							
						
					
					
						commit
						d18eb61bd2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -172,11 +172,11 @@ int pa_asyncmsgq_send(pa_asyncmsgq *a, pa_msgobject *object, int code, const voi
 | 
			
		|||
    return i.ret;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int pa_asyncmsgq_get(pa_asyncmsgq *a, pa_msgobject **object, int *code, void **userdata, int64_t *offset, pa_memchunk *chunk, pa_bool_t wait) {
 | 
			
		||||
int pa_asyncmsgq_get(pa_asyncmsgq *a, pa_msgobject **object, int *code, void **userdata, int64_t *offset, pa_memchunk *chunk, pa_bool_t wait_op) {
 | 
			
		||||
    pa_assert(PA_REFCNT_VALUE(a) > 0);
 | 
			
		||||
    pa_assert(!a->current);
 | 
			
		||||
 | 
			
		||||
    if (!(a->current = pa_asyncq_pop(a->asyncq, wait))) {
 | 
			
		||||
    if (!(a->current = pa_asyncq_pop(a->asyncq, wait_op))) {
 | 
			
		||||
/*         pa_log("failure"); */
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue