mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@17 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									98f41f1e70
								
							
						
					
					
						commit
						78f386ad45
					
				
					 19 changed files with 269 additions and 201 deletions
				
			
		
							
								
								
									
										13
									
								
								src/sink.h
									
										
									
									
									
								
							
							
						
						
									
										13
									
								
								src/sink.h
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -10,13 +10,24 @@ struct sink;
 | 
			
		|||
#include "idxset.h"
 | 
			
		||||
#include "source.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
struct sink_input {
 | 
			
		||||
    int (*peek) (struct sink_input *i, struct memchunk *chunk, uint8_t *volume);
 | 
			
		||||
    void (*drop) (struct sink_input *i, size_t length);
 | 
			
		||||
    void (*kill) (struct sink_input *i);
 | 
			
		||||
 | 
			
		||||
    void *userdata;
 | 
			
		||||
    int index;
 | 
			
		||||
    struct sink *sink;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct sink {
 | 
			
		||||
    char *name;
 | 
			
		||||
    uint32_t index;
 | 
			
		||||
    
 | 
			
		||||
    struct core *core;
 | 
			
		||||
    struct sample_spec sample_spec;
 | 
			
		||||
    struct idxset *input_streams;
 | 
			
		||||
    struct idxset *inputs;
 | 
			
		||||
 | 
			
		||||
    struct source *monitor_source;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue