mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix loading of load-once modules if no other modules was loaded before
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2049 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									5054f3623f
								
							
						
					
					
						commit
						f752882525
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -86,7 +86,7 @@ pa_module* pa_module_load(pa_core *c, const char *name, const char *argument) {
 | 
			
		|||
 | 
			
		||||
    if ((load_once = (pa_bool_t (*)(void)) pa_load_sym(m->dl, name, PA_SYMBOL_LOAD_ONCE))) {
 | 
			
		||||
 | 
			
		||||
        if (load_once()) {
 | 
			
		||||
        if (load_once() && c->modules) {
 | 
			
		||||
            pa_module *i;
 | 
			
		||||
            uint32_t idx;
 | 
			
		||||
            /* OK, the module only wants to be loaded once, let's make sure it is */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue