mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: small cleanup
This commit is contained in:
		
							parent
							
								
									dcddd5080b
								
							
						
					
					
						commit
						bc85837e26
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -497,7 +497,6 @@ static int set_timeout(struct state *state, uint64_t time)
 | 
				
			||||||
		ts.it_interval.tv_nsec = 0;
 | 
							ts.it_interval.tv_nsec = 0;
 | 
				
			||||||
		timerfd_settime(state->timerfd, TFD_TIMER_ABSTIME, &ts, NULL);
 | 
							timerfd_settime(state->timerfd, TFD_TIMER_ABSTIME, &ts, NULL);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1065,7 +1064,6 @@ int spa_alsa_start(struct state *state)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!state->slaved) {
 | 
						if (!state->slaved) {
 | 
				
			||||||
		clock_gettime(CLOCK_MONOTONIC, &state->now);
 | 
					 | 
				
			||||||
		ts.it_value.tv_sec = 0;
 | 
							ts.it_value.tv_sec = 0;
 | 
				
			||||||
		ts.it_value.tv_nsec = 1;
 | 
							ts.it_value.tv_nsec = 1;
 | 
				
			||||||
		ts.it_interval.tv_sec = 0;
 | 
							ts.it_interval.tv_sec = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue