mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	* add first part of zeroconf publisher
* bump version to 0.7.1. * improve logging subsystem (introducing log levels) * remove verbose flag on cli * add new API pa_sample_format_to_string() * replace strtol() by usages of pa_atou() and pa_atoi() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@317 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									5be9641ffe
								
							
						
					
					
						commit
						73eabece33
					
				
					 38 changed files with 467 additions and 280 deletions
				
			
		| 
						 | 
				
			
			@ -89,7 +89,7 @@ struct pa_module* pa_module_load(struct pa_core *c, const char *name, const char
 | 
			
		|||
 | 
			
		||||
    assert(m->init);
 | 
			
		||||
    if (m->init(c, m) < 0) {
 | 
			
		||||
        pa_log(__FILE__": Failed to load  module \"%s\" (argument: \"%s\"): initialization failed.\n", name, argument ? argument : "");
 | 
			
		||||
        pa_log_error(__FILE__": Failed to load  module \"%s\" (argument: \"%s\"): initialization failed.\n", name, argument ? argument : "");
 | 
			
		||||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -108,7 +108,7 @@ struct pa_module* pa_module_load(struct pa_core *c, const char *name, const char
 | 
			
		|||
    r = pa_idxset_put(c->modules, m, &m->index);
 | 
			
		||||
    assert(r >= 0 && m->index != PA_IDXSET_INVALID);
 | 
			
		||||
 | 
			
		||||
    pa_log(__FILE__": Loaded \"%s\" (index: #%u; argument: \"%s\").\n", m->name, m->index, m->argument ? m->argument : "");
 | 
			
		||||
    pa_log_info(__FILE__": Loaded \"%s\" (index: #%u; argument: \"%s\").\n", m->name, m->index, m->argument ? m->argument : ""); 
 | 
			
		||||
 | 
			
		||||
    pa_subscription_post(c, PA_SUBSCRIPTION_EVENT_MODULE|PA_SUBSCRIPTION_EVENT_NEW, m->index);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			@ -135,13 +135,13 @@ static void pa_module_free(struct pa_module *m) {
 | 
			
		|||
    if (m->core->disallow_module_loading)
 | 
			
		||||
        return;
 | 
			
		||||
 | 
			
		||||
    pa_log(__FILE__": Unloading \"%s\" (index: #%u).\n", m->name, m->index);
 | 
			
		||||
    pa_log_info(__FILE__": Unloading \"%s\" (index: #%u).\n", m->name, m->index); 
 | 
			
		||||
 | 
			
		||||
    m->done(m->core, m);
 | 
			
		||||
 | 
			
		||||
    lt_dlclose(m->dl);
 | 
			
		||||
    
 | 
			
		||||
    pa_log(__FILE__": Unloaded \"%s\" (index: #%u).\n", m->name, m->index);
 | 
			
		||||
    pa_log_info(__FILE__": Unloaded \"%s\" (index: #%u).\n", m->name, m->index); 
 | 
			
		||||
 | 
			
		||||
    pa_subscription_post(m->core, PA_SUBSCRIPTION_EVENT_MODULE|PA_SUBSCRIPTION_EVENT_REMOVE, m->index);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue