mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	control: remap plugin - initial version
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
		
							parent
							
								
									7db7e18bbb
								
							
						
					
					
						commit
						a64391a428
					
				
					 6 changed files with 1236 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,9 @@ EXTRA_LTLIBRARIES = libcontrol.la
 | 
			
		|||
libcontrol_la_SOURCES = cards.c tlv.c namehint.c hcontrol.c \
 | 
			
		||||
                        control.c control_hw.c setup.c ctlparse.c \
 | 
			
		||||
                        control_symbols.c
 | 
			
		||||
if BUILD_CTL_PLUGIN_REMAP
 | 
			
		||||
libcontrol_la_SOURCES += control_remap.c
 | 
			
		||||
endif
 | 
			
		||||
if BUILD_CTL_PLUGIN_SHM
 | 
			
		||||
libcontrol_la_SOURCES += control_shm.c
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1345,7 +1345,7 @@ snd_ctl_t *snd_async_handler_get_ctl(snd_async_handler_t *handler)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
static const char *const build_in_ctls[] = {
 | 
			
		||||
	"hw", "shm", NULL
 | 
			
		||||
	"hw", "remap", "shm", NULL
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static int snd_ctl_open_conf(snd_ctl_t **ctlp, const char *name,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1226
									
								
								src/control/control_remap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1226
									
								
								src/control/control_remap.c
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -21,6 +21,7 @@
 | 
			
		|||
#ifndef PIC
 | 
			
		||||
 | 
			
		||||
extern const char *_snd_module_control_hw;
 | 
			
		||||
extern const char *_snd_module_control_remap;
 | 
			
		||||
extern const char *_snd_module_control_shm;
 | 
			
		||||
extern const char *_snd_module_control_ext;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue