mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Changed descriptors_count
This commit is contained in:
		
							parent
							
								
									0c7637393f
								
							
						
					
					
						commit
						191d03501e
					
				
					 12 changed files with 22 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -74,12 +74,10 @@ int _snd_ctl_poll_descriptor(snd_ctl_t *ctl)
 | 
			
		|||
	return ctl->ops->poll_descriptor(ctl);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl, unsigned int *count)
 | 
			
		||||
int snd_ctl_poll_descriptors_count(snd_ctl_t *ctl)
 | 
			
		||||
{
 | 
			
		||||
	assert(ctl);
 | 
			
		||||
	assert(count);
 | 
			
		||||
	*count = 1;
 | 
			
		||||
	return 0;
 | 
			
		||||
	return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int snd_ctl_poll_descriptors(snd_ctl_t *ctl, struct pollfd *pfds, unsigned int space)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue