mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added the surround plugin to allow simple access for 4.0 and 5.1 speakers.
It needs a bit more work to make it functional.
This commit is contained in:
		
							parent
							
								
									edaf7fdf2c
								
							
						
					
					
						commit
						c4f95f48c3
					
				
					 13 changed files with 549 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -265,6 +265,19 @@ int snd_ctl_pcm_next_device(snd_ctl_t *ctl, int * device)
 | 
			
		|||
	return ctl->ops->pcm_next_device(ctl, device);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief Get next PCM surround device number
 | 
			
		||||
 * \param ctl CTL handle
 | 
			
		||||
 * \param type surround type
 | 
			
		||||
 * \param device current device on entry and next device on return
 | 
			
		||||
 * \return 0 on success otherwise a negative error code
 | 
			
		||||
 */
 | 
			
		||||
int snd_ctl_pcm_surround_next_device(snd_ctl_t *ctl, snd_pcm_surround_type_t type, int * device)
 | 
			
		||||
{
 | 
			
		||||
	assert(ctl && device);
 | 
			
		||||
	return ctl->ops->pcm_surround_next_device(ctl, type, device);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief Get info about a PCM device
 | 
			
		||||
 * \param ctl CTL handle
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue