mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Moved ring buffer pointers and added a mechanism to transfer them via shm
This commit is contained in:
		
							parent
							
								
									f063381430
								
							
						
					
					
						commit
						c941c548f8
					
				
					 26 changed files with 469 additions and 171 deletions
				
			
		| 
						 | 
				
			
			@ -344,8 +344,8 @@ int snd_pcm_hooks_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int
 | 
			
		|||
	pcm->fast_ops = &snd_pcm_hooks_fast_ops;
 | 
			
		||||
	pcm->private_data = h;
 | 
			
		||||
	pcm->poll_fd = slave->poll_fd;
 | 
			
		||||
	pcm->hw_ptr = slave->hw_ptr;
 | 
			
		||||
	pcm->appl_ptr = slave->appl_ptr;
 | 
			
		||||
	snd_pcm_link_hw_ptr(pcm, slave);
 | 
			
		||||
	snd_pcm_link_appl_ptr(pcm, slave);
 | 
			
		||||
	*pcmp = pcm;
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue