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_route()
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
							
								
									15ff48e721
								
							
						
					
					
						commit
						b67b9e42ca
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -282,7 +282,8 @@ static int elem_read_route(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;
 | 
				
			||||||
		if (!snd_ctl_elem_value_get_integer(ctl, idx1 * c->values + idx1))
 | 
							if (!snd_ctl_elem_value_get_integer(ctl,
 | 
				
			||||||
 | 
											    idx1 * c->values + idx1))
 | 
				
			||||||
			s->str[dir].sw &= ~(1 << idx);
 | 
								s->str[dir].sw &= ~(1 << idx);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue