mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added hooked PCM type (one sample hook implementation will follow). Some cleaning.
This commit is contained in:
		
							parent
							
								
									7f33541268
								
							
						
					
					
						commit
						7f651b3071
					
				
					 28 changed files with 702 additions and 128 deletions
				
			
		| 
						 | 
				
			
			@ -201,9 +201,7 @@ int _snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
	snd_config_for_each(i, next, conf) {
 | 
			
		||||
		snd_config_t *n = snd_config_iterator_entry(i);
 | 
			
		||||
		const char *id = snd_config_get_id(n);
 | 
			
		||||
		if (strcmp(id, "comment") == 0)
 | 
			
		||||
			continue;
 | 
			
		||||
		if (strcmp(id, "type") == 0)
 | 
			
		||||
		if (snd_pcm_conf_generic_id(id))
 | 
			
		||||
			continue;
 | 
			
		||||
		if (strcmp(id, "slave") == 0) {
 | 
			
		||||
			slave = n;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue