mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	pcm: change code formatting for snd_pcm_get_params()
This commit applies code format according to typical and moderate rule, for snd_pcm_get_params(). Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									a5f54c1aeb
								
							
						
					
					
						commit
						8c3ffab39e
					
				
					 1 changed files with 5 additions and 7 deletions
				
			
		|  | @ -8484,11 +8484,9 @@ int snd_pcm_get_params(snd_pcm_t *pcm, | |||
| 	err = snd_pcm_hw_params_current(pcm, hw); | ||||
| 	if (err < 0) | ||||
| 	        return err; | ||||
|         err = INTERNAL(snd_pcm_hw_params_get_buffer_size)(hw, buffer_size); | ||||
|         if (err < 0) | ||||
|                 return err; | ||||
|         err = INTERNAL(snd_pcm_hw_params_get_period_size)(hw, period_size, NULL); | ||||
|         if (err < 0) | ||||
|                 return err; | ||||
| 	return 0; | ||||
| 	err = INTERNAL(snd_pcm_hw_params_get_buffer_size)(hw, buffer_size); | ||||
| 	if (err < 0) | ||||
| 		return err; | ||||
| 	return INTERNAL(snd_pcm_hw_params_get_period_size)(hw, period_size, | ||||
| 							   NULL); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Takashi Sakamoto
						Takashi Sakamoto