mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-10-29 05:40:27 -04:00 
			
		
		
		
	alsa: enable htimestamp mode
Use snd_pcm_htimestamp to get both the available space and the timestamp when this was calculated. We can then use this to get a better estimate of the delay in the device against the graph start and get a more reliable delay between capture and playback.
This commit is contained in:
		
							parent
							
								
									90e2f4a139
								
							
						
					
					
						commit
						29e6544bae
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1856,7 +1856,7 @@ recover: | |||
| 	return do_start(state); | ||||
| } | ||||
| 
 | ||||
| #if 1 | ||||
| #if 0 | ||||
| static int get_avail(struct state *state, uint64_t current_time, snd_pcm_uframes_t *delay) | ||||
| { | ||||
| 	int res, missed; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wim Taymans
						Wim Taymans