mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fix compile warning with internal function
Fixed the compile warning refering to the internal function snd_pcm_hw_params_set_format_first.
This commit is contained in:
		
							parent
							
								
									6972e3e585
								
							
						
					
					
						commit
						c818bab2e3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -895,7 +895,7 @@ int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, str
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (ret < 0 && dmix->type != SND_PCM_TYPE_DMIX) {
 | 
							if (ret < 0 && dmix->type != SND_PCM_TYPE_DMIX) {
 | 
				
			||||||
			/* TODO: try to choose a good format */
 | 
								/* TODO: try to choose a good format */
 | 
				
			||||||
			ret = snd_pcm_hw_params_set_format_first(spcm, hw_params, &format);
 | 
								ret = INTERNAL(snd_pcm_hw_params_set_format_first)(spcm, hw_params, &format);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (ret < 0) {
 | 
							if (ret < 0) {
 | 
				
			||||||
			SNDERR("requested or auto-format is not available");
 | 
								SNDERR("requested or auto-format is not available");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue