mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	make rtprio and nice level actually configurable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2014 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									641d1fa964
								
							
						
					
					
						commit
						7bfd1b2f01
					
				
					 11 changed files with 94 additions and 54 deletions
				
			
		| 
						 | 
				
			
			@ -107,7 +107,7 @@ pa_core* pa_core_new(pa_mainloop_api *m, int shared) {
 | 
			
		|||
    c->scache = NULL;
 | 
			
		||||
    c->autoload_idxset = NULL;
 | 
			
		||||
    c->autoload_hashmap = NULL;
 | 
			
		||||
    c->running_as_daemon = 0;
 | 
			
		||||
    c->running_as_daemon = FALSE;
 | 
			
		||||
 | 
			
		||||
    c->default_sample_spec.format = PA_SAMPLE_S16NE;
 | 
			
		||||
    c->default_sample_spec.rate = 44100;
 | 
			
		||||
| 
						 | 
				
			
			@ -134,10 +134,10 @@ pa_core* pa_core_new(pa_mainloop_api *m, int shared) {
 | 
			
		|||
 | 
			
		||||
    c->resample_method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 3;
 | 
			
		||||
 | 
			
		||||
    c->is_system_instance = 0;
 | 
			
		||||
    c->disallow_module_loading = 0;
 | 
			
		||||
    c->high_priority = 0;
 | 
			
		||||
 | 
			
		||||
    c->is_system_instance = FALSE;
 | 
			
		||||
    c->disallow_module_loading = FALSE;
 | 
			
		||||
    c->realtime_scheduling = FALSE;
 | 
			
		||||
    c->realtime_priority = 5;
 | 
			
		||||
 | 
			
		||||
    for (j = 0; j < PA_CORE_HOOK_MAX; j++)
 | 
			
		||||
        pa_hook_init(&c->hooks[j], c);
 | 
			
		||||
| 
						 | 
				
			
			@ -217,4 +217,3 @@ void pa_core_check_quit(pa_core *c) {
 | 
			
		|||
        c->quit_event = NULL;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue