mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	add snd_seq_unset_bit()
Added snd_seq_unset_bit() to alsa sequencer API Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
This commit is contained in:
		
							parent
							
								
									0e5b2a006a
								
							
						
					
					
						commit
						882f93ac26
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4662,6 +4662,14 @@ void snd_seq_set_bit(int nr, void *array)
 | 
			
		|||
	((unsigned int *)array)[nr >> 5] |= 1UL << (nr & 31);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief unset a bit flag
 | 
			
		||||
 */
 | 
			
		||||
void snd_seq_unset_bit(int nr, void *array)
 | 
			
		||||
{
 | 
			
		||||
       ((unsigned int *)array)[nr >> 5] &= ~(1UL << (nr & 31));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief change a bit flag
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue