mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	pcm direct plugins: change timestamping in dsnoop
Do not use own timestamps, try to sync hw.ptr with real timestamp. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									5cfa03d2f3
								
							
						
					
					
						commit
						13b5d972d2
					
				
					 4 changed files with 28 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -137,6 +137,7 @@ struct snd_pcm_direct {
 | 
			
		|||
	int (*sync_ptr)(snd_pcm_t *pcm);
 | 
			
		||||
	snd_pcm_state_t state;
 | 
			
		||||
	snd_htimestamp_t trigger_tstamp;
 | 
			
		||||
	snd_htimestamp_t update_tstamp;
 | 
			
		||||
	int server, client;
 | 
			
		||||
	int comm_fd;			/* communication file descriptor (socket) */
 | 
			
		||||
	int hw_fd;			/* hardware file descriptor */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue