mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	mixer: change code formatting for elem_read_volume()
This commit applies code format according to typical and moderate rule. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									9e1c73cdd4
								
							
						
					
					
						commit
						bc08a11eda
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -245,7 +245,9 @@ static int elem_read_volume(selem_none_t *s, int dir, selem_ctl_type_t type)
 | 
				
			||||||
		unsigned int idx1 = idx;
 | 
							unsigned int idx1 = idx;
 | 
				
			||||||
		if (idx >= c->values)
 | 
							if (idx >= c->values)
 | 
				
			||||||
			idx1 = 0;
 | 
								idx1 = 0;
 | 
				
			||||||
		s->str[dir].vol[idx] = to_user(s, dir, c, snd_ctl_elem_value_get_integer(ctl, idx1));
 | 
							s->str[dir].vol[idx] =
 | 
				
			||||||
 | 
								to_user(s, dir, c,
 | 
				
			||||||
 | 
									snd_ctl_elem_value_get_integer(ctl, idx1));
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue