mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Use enum instead of #define where appropriate
This commit is contained in:
		
							parent
							
								
									f7d7bd0f8f
								
							
						
					
					
						commit
						7e4938fa0e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -76,7 +76,9 @@ int snd_pcm_plugin_status(snd_pcm_t *pcm, snd_pcm_status_t * status)
 | 
			
		|||
	int err = snd_pcm_status(plugin->slave, status);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		return err;
 | 
			
		||||
	status->avail = snd_pcm_avail_update(pcm);
 | 
			
		||||
	status->avail = snd_pcm_mmap_avail(pcm);
 | 
			
		||||
	if (plugin->client_frames)
 | 
			
		||||
		status->avail_max = plugin->client_frames(pcm, status->avail_max);
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue