mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	use snd_seq_client_info_event_filter_*() functions
Change snd_seq_set_client_event_filter to use the new snd_seq_client_info_event_filter_* API Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
This commit is contained in:
		
							parent
							
								
									83c5a60778
								
							
						
					
					
						commit
						72ffc6db77
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -251,8 +251,7 @@ int snd_seq_set_client_event_filter(snd_seq_t *seq, int event_type)
 | 
			
		|||
 | 
			
		||||
	if ((err = snd_seq_get_client_info(seq, &info)) < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
	info.filter |= SNDRV_SEQ_FILTER_USE_EVENT;
 | 
			
		||||
	snd_seq_set_bit(event_type, info.event_filter);
 | 
			
		||||
	snd_seq_client_info_event_filter_add(&info, event_type);
 | 
			
		||||
	return snd_seq_set_client_info(seq, &info);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue