mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	reformat things
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2510 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									f7ff9e2dd2
								
							
						
					
					
						commit
						46d17f0a61
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
					@ -209,11 +209,16 @@ static void quit_callback(pa_mainloop_api*m, pa_time_event *e, PA_GCC_UNUSED con
 | 
				
			||||||
void pa_core_check_quit(pa_core *c) {
 | 
					void pa_core_check_quit(pa_core *c) {
 | 
				
			||||||
    pa_assert(c);
 | 
					    pa_assert(c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!c->quit_event && c->exit_idle_time >= 0 && pa_idxset_size(c->clients) == 0) {
 | 
					    if (!c->quit_event &&
 | 
				
			||||||
 | 
					        c->exit_idle_time >= 0 &&
 | 
				
			||||||
 | 
					        pa_idxset_size(c->clients) == 0) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        struct timeval tv;
 | 
					        struct timeval tv;
 | 
				
			||||||
        pa_gettimeofday(&tv);
 | 
					        pa_gettimeofday(&tv);
 | 
				
			||||||
        tv.tv_sec+= c->exit_idle_time;
 | 
					        tv.tv_sec+= c->exit_idle_time;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        c->quit_event = c->mainloop->time_new(c->mainloop, &tv, quit_callback, c);
 | 
					        c->quit_event = c->mainloop->time_new(c->mainloop, &tv, quit_callback, c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    } else if (c->quit_event && pa_idxset_size(c->clients) > 0) {
 | 
					    } else if (c->quit_event && pa_idxset_size(c->clients) > 0) {
 | 
				
			||||||
        c->mainloop->time_free(c->quit_event);
 | 
					        c->mainloop->time_free(c->quit_event);
 | 
				
			||||||
        c->quit_event = NULL;
 | 
					        c->quit_event = NULL;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue