mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	More better fix for linked start/stop
Instead of link_fd, more generic callback link_slaves is introduced. This is called for linking the slave streams as the source to the given master stream.
This commit is contained in:
		
							parent
							
								
									1753ae794f
								
							
						
					
					
						commit
						8048321c76
					
				
					 13 changed files with 93 additions and 134 deletions
				
			
		| 
						 | 
				
			
			@ -562,8 +562,8 @@ static snd_pcm_fast_ops_t snd_pcm_dshare_fast_ops = {
 | 
			
		|||
	.rewind = snd_pcm_dshare_rewind,
 | 
			
		||||
	.forward = snd_pcm_dshare_forward,
 | 
			
		||||
	.resume = snd_pcm_direct_resume,
 | 
			
		||||
	.link_fd = NULL,
 | 
			
		||||
	.link = NULL,
 | 
			
		||||
	.link_slaves = NULL,
 | 
			
		||||
	.unlink = NULL,
 | 
			
		||||
	.writei = snd_pcm_mmap_writei,
 | 
			
		||||
	.writen = snd_pcm_mmap_writen,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue