mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	PCM: Fix conflict of _snd_pcm_hw_params definitions
Fix the call of _snd_pcm_hw_params() to _snd_pcm_hw_params_internal(). The build passed wrongly because of _snd_pcm_hw_params define. Having the same function name as the struct name is is simply confusing... Also, to be sure, _snd_pcm_hw_params is undef'ed in pcm_local.h, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									22d6b6e643
								
							
						
					
					
						commit
						03c26d0ede
					
				
					 8 changed files with 9 additions and 8 deletions
				
			
		|  | @ -828,7 +828,7 @@ int snd_pcm_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) | |||
| { | ||||
| 	int err; | ||||
| 	assert(pcm && params); | ||||
| 	err = _snd_pcm_hw_params(pcm, params); | ||||
| 	err = _snd_pcm_hw_params_internal(pcm, params); | ||||
| 	if (err < 0) | ||||
| 		return err; | ||||
| 	err = snd_pcm_prepare(pcm); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Takashi Iwai
						Takashi Iwai