mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Implement the channel mapping API
Added new channel-mapping API functions. Not all plugins are covered, especially the route, multi and external plugins don't work yet. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									1ef1c5cdb4
								
							
						
					
					
						commit
						3c4a22ea49
					
				
					 27 changed files with 386 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -789,6 +789,24 @@ int snd_pcm_direct_munmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
 | 
			
		|||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int **snd_pcm_direct_query_chmaps(snd_pcm_t *pcm)
 | 
			
		||||
{
 | 
			
		||||
	snd_pcm_direct_t *dmix = pcm->private_data;
 | 
			
		||||
	return snd_pcm_query_chmaps(dmix->spcm);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int *snd_pcm_direct_get_chmap(snd_pcm_t *pcm)
 | 
			
		||||
{
 | 
			
		||||
	snd_pcm_direct_t *dmix = pcm->private_data;
 | 
			
		||||
	return snd_pcm_get_chmap(dmix->spcm);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int snd_pcm_direct_set_chmap(snd_pcm_t *pcm, const int *map)
 | 
			
		||||
{
 | 
			
		||||
	snd_pcm_direct_t *dmix = pcm->private_data;
 | 
			
		||||
	return snd_pcm_set_chmap(dmix->spcm, map);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int snd_pcm_direct_resume(snd_pcm_t *pcm)
 | 
			
		||||
{
 | 
			
		||||
	snd_pcm_direct_t *dmix = pcm->private_data;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue