mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	pcm: Implement timestamp type handling in all plugins
Now all PCM plugins do support the proper timestamp type or pass it over slaves. The internal monotonic flag is dropped and replaced with tstamp_type in all places. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									9b716075de
								
							
						
					
					
						commit
						65ff6fdafb
					
				
					 28 changed files with 73 additions and 58 deletions
				
			
		| 
						 | 
				
			
			@ -240,7 +240,7 @@ int snd_pcm_hooks_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int
 | 
			
		|||
	pcm->poll_fd = slave->poll_fd;
 | 
			
		||||
	pcm->poll_events = slave->poll_events;
 | 
			
		||||
	pcm->mmap_shadow = 1;
 | 
			
		||||
	pcm->monotonic = slave->monotonic;
 | 
			
		||||
	pcm->tstamp_type = slave->tstamp_type;
 | 
			
		||||
	snd_pcm_link_hw_ptr(pcm, slave);
 | 
			
		||||
	snd_pcm_link_appl_ptr(pcm, slave);
 | 
			
		||||
	*pcmp = pcm;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue