mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	* Cleaned the alsa.conf syntax:
- added pcm.front, pcm.rear, pcm.center_lfe blocks * Added configuration for EMU10K1 (it's fully working one!!!) * snd_config_redirect_load->snd_config_refer_load rename * snd_config_search_alias code change (works also with pairs base.key) * cleanups in the evaluate function (the function prototype has been changed)
This commit is contained in:
		
							parent
							
								
									1b8d405606
								
							
						
					
					
						commit
						977a9a33f0
					
				
					 25 changed files with 468 additions and 266 deletions
				
			
		| 
						 | 
				
			
			@ -444,7 +444,6 @@ int _snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
	snd_pcm_t *spcm;
 | 
			
		||||
	snd_config_t *slave = NULL, *sconf;
 | 
			
		||||
	snd_pcm_format_t sformat;
 | 
			
		||||
	const char *args;
 | 
			
		||||
	snd_config_for_each(i, next, conf) {
 | 
			
		||||
		snd_config_t *n = snd_config_iterator_entry(i);
 | 
			
		||||
		const char *id = snd_config_get_id(n);
 | 
			
		||||
| 
						 | 
				
			
			@ -461,7 +460,7 @@ int _snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
		SNDERR("slave is not defined");
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
	}
 | 
			
		||||
	err = snd_pcm_slave_conf(root, slave, &sconf, &args, 1,
 | 
			
		||||
	err = snd_pcm_slave_conf(root, slave, &sconf, 1,
 | 
			
		||||
				 SND_PCM_HW_PARAM_FORMAT, 1, &sformat);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
| 
						 | 
				
			
			@ -470,7 +469,7 @@ int _snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
		SNDERR("invalid slave format");
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
	}
 | 
			
		||||
	err = snd_pcm_open_slave(&spcm, root, sconf, args, stream, mode);
 | 
			
		||||
	err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
	err = snd_pcm_mulaw_open(pcmp, name, sformat, spcm, 1);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue