mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
							parent
							
								
									5aa9c95390
								
							
						
					
					
						commit
						36c7e820d8
					
				
					 5 changed files with 9 additions and 5 deletions
				
			
		| 
						 | 
					@ -1050,7 +1050,7 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
	this->timer_source.func = on_output;
 | 
						this->timer_source.func = on_output;
 | 
				
			||||||
	this->timer_source.data = this;
 | 
						this->timer_source.data = this;
 | 
				
			||||||
	this->timer_source.fd = spa_system_timerfd_create(this->data_system,
 | 
						this->timer_source.fd = spa_system_timerfd_create(this->data_system,
 | 
				
			||||||
			CLOCK_MONOTONIC, SPA_FD_CLOEXEC);
 | 
								CLOCK_MONOTONIC, SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
 | 
				
			||||||
	this->timer_source.mask = SPA_IO_IN;
 | 
						this->timer_source.mask = SPA_IO_IN;
 | 
				
			||||||
	this->timer_source.rmask = 0;
 | 
						this->timer_source.rmask = 0;
 | 
				
			||||||
	this->timerspec.it_value.tv_sec = 0;
 | 
						this->timerspec.it_value.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -763,7 +763,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this->timer_source.func = on_input;
 | 
						this->timer_source.func = on_input;
 | 
				
			||||||
	this->timer_source.data = this;
 | 
						this->timer_source.data = this;
 | 
				
			||||||
	this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC, SPA_FD_CLOEXEC);
 | 
						this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC,
 | 
				
			||||||
 | 
												  SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
 | 
				
			||||||
	this->timer_source.mask = SPA_IO_IN;
 | 
						this->timer_source.mask = SPA_IO_IN;
 | 
				
			||||||
	this->timer_source.rmask = 0;
 | 
						this->timer_source.rmask = 0;
 | 
				
			||||||
	this->timerspec.it_value.tv_sec = 0;
 | 
						this->timerspec.it_value.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -795,7 +795,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this->timer_source.func = on_output;
 | 
						this->timer_source.func = on_output;
 | 
				
			||||||
	this->timer_source.data = this;
 | 
						this->timer_source.data = this;
 | 
				
			||||||
	this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC, SPA_FD_CLOEXEC);
 | 
						this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC,
 | 
				
			||||||
 | 
												  SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
 | 
				
			||||||
	this->timer_source.mask = SPA_IO_IN;
 | 
						this->timer_source.mask = SPA_IO_IN;
 | 
				
			||||||
	this->timer_source.rmask = 0;
 | 
						this->timer_source.rmask = 0;
 | 
				
			||||||
	this->timerspec.it_value.tv_sec = 0;
 | 
						this->timerspec.it_value.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -904,7 +904,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this->timer_source.func = on_output;
 | 
						this->timer_source.func = on_output;
 | 
				
			||||||
	this->timer_source.data = this;
 | 
						this->timer_source.data = this;
 | 
				
			||||||
	this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC, SPA_FD_CLOEXEC);
 | 
						this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC,
 | 
				
			||||||
 | 
												  SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
 | 
				
			||||||
	this->timer_source.mask = SPA_IO_IN;
 | 
						this->timer_source.mask = SPA_IO_IN;
 | 
				
			||||||
	this->timer_source.rmask = 0;
 | 
						this->timer_source.rmask = 0;
 | 
				
			||||||
	this->timerspec.it_value.tv_sec = 0;
 | 
						this->timerspec.it_value.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -920,7 +920,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this->timer_source.func = on_output;
 | 
						this->timer_source.func = on_output;
 | 
				
			||||||
	this->timer_source.data = this;
 | 
						this->timer_source.data = this;
 | 
				
			||||||
	this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC, SPA_FD_CLOEXEC);
 | 
						this->timer_source.fd = spa_system_timerfd_create(this->data_system, CLOCK_MONOTONIC,
 | 
				
			||||||
 | 
												  SPA_FD_CLOEXEC | SPA_FD_NONBLOCK);
 | 
				
			||||||
	this->timer_source.mask = SPA_IO_IN;
 | 
						this->timer_source.mask = SPA_IO_IN;
 | 
				
			||||||
	this->timer_source.rmask = 0;
 | 
						this->timer_source.rmask = 0;
 | 
				
			||||||
	this->timerspec.it_value.tv_sec = 0;
 | 
						this->timerspec.it_value.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue