mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	* fix include file names in installed header files
* add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									9a01cf44f0
								
							
						
					
					
						commit
						e02be6c15b
					
				
					 58 changed files with 971 additions and 169 deletions
				
			
		| 
						 | 
				
			
			@ -49,6 +49,8 @@ PA_MODULE_USAGE("format=<sample format> channels=<number of channels> rate=<samp
 | 
			
		|||
 | 
			
		||||
#define DEFAULT_SINK_NAME "null"
 | 
			
		||||
 | 
			
		||||
#define PA_TYPEID_NULL PA_TYPEID_MAKE('N', 'U', 'L', 'L')
 | 
			
		||||
 | 
			
		||||
struct userdata {
 | 
			
		||||
    struct pa_core *core;
 | 
			
		||||
    struct pa_module *module;
 | 
			
		||||
| 
						 | 
				
			
			@ -106,7 +108,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
 | 
			
		|||
    u->module = m;
 | 
			
		||||
    m->userdata = u;
 | 
			
		||||
    
 | 
			
		||||
    if (!(u->sink = pa_sink_new(c, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss))) {
 | 
			
		||||
    if (!(u->sink = pa_sink_new(c, PA_TYPEID_NULL, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss))) {
 | 
			
		||||
        pa_log(__FILE__": failed to create sink.\n");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue