mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	fix the file plugin
Call snd_pcm_file_hw_params instead of snd_pcm_generic_hw_params to prevent a crash when the file plugin is used.
This commit is contained in:
		
							parent
							
								
									809e31561a
								
							
						
					
					
						commit
						85171640fa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -340,7 +340,7 @@ static snd_pcm_ops_t snd_pcm_file_ops = {
 | 
				
			||||||
	.close = snd_pcm_file_close,
 | 
						.close = snd_pcm_file_close,
 | 
				
			||||||
	.info = snd_pcm_generic_info,
 | 
						.info = snd_pcm_generic_info,
 | 
				
			||||||
	.hw_refine = snd_pcm_generic_hw_refine,
 | 
						.hw_refine = snd_pcm_generic_hw_refine,
 | 
				
			||||||
	.hw_params = snd_pcm_generic_hw_params,
 | 
						.hw_params = snd_pcm_file_hw_params,
 | 
				
			||||||
	.hw_free = snd_pcm_file_hw_free,
 | 
						.hw_free = snd_pcm_file_hw_free,
 | 
				
			||||||
	.sw_params = snd_pcm_generic_sw_params,
 | 
						.sw_params = snd_pcm_generic_sw_params,
 | 
				
			||||||
	.channel_info = snd_pcm_generic_channel_info,
 | 
						.channel_info = snd_pcm_generic_channel_info,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue