mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix a bad memory access pulsecore/client.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2527 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									7bae1baa3e
								
							
						
					
					
						commit
						b27cc1d426
					
				
					 14 changed files with 220 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -42,6 +42,7 @@ typedef struct pa_source pa_source;
 | 
			
		|||
#include <pulsecore/asyncmsgq.h>
 | 
			
		||||
#include <pulsecore/msgobject.h>
 | 
			
		||||
#include <pulsecore/rtpoll.h>
 | 
			
		||||
#include <pulsecore/source-output.h>
 | 
			
		||||
 | 
			
		||||
#define PA_MAX_OUTPUTS_PER_SOURCE 32
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -205,7 +206,8 @@ unsigned pa_source_used_by(pa_source *s); /* Number of connected streams that ar
 | 
			
		|||
 | 
			
		||||
/* To be called exclusively by the source driver, from IO context */
 | 
			
		||||
 | 
			
		||||
void pa_source_post(pa_source*s, const pa_memchunk *b);
 | 
			
		||||
void pa_source_post(pa_source*s, const pa_memchunk *chunk);
 | 
			
		||||
void pa_source_post_direct(pa_source*s, pa_source_output *o, const pa_memchunk *chunk);
 | 
			
		||||
void pa_source_process_rewind(pa_source *s, size_t nbytes);
 | 
			
		||||
 | 
			
		||||
int pa_source_process_msg(pa_msgobject *o, int code, void *userdata, int64_t, pa_memchunk *chunk);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue