mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	More mixer updates and some fixes...
This commit is contained in:
		
							parent
							
								
									f32c1b4f60
								
							
						
					
					
						commit
						30e978b0b8
					
				
					 8 changed files with 15 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -57,9 +57,9 @@ int snd_ctl_open(snd_ctl_t **handle, int card)
 | 
			
		|||
		close(fd);
 | 
			
		||||
		return -errno;
 | 
			
		||||
	}
 | 
			
		||||
	if (SND_PROTOCOL_UNCOMPATIBLE(ver, SND_CTL_VERSION_MAX)) {
 | 
			
		||||
	if (SND_PROTOCOL_INCOMPATIBLE(ver, SND_CTL_VERSION_MAX)) {
 | 
			
		||||
		close(fd);
 | 
			
		||||
		return -SND_ERROR_UNCOMPATIBLE_VERSION;
 | 
			
		||||
		return -SND_ERROR_INCOMPATIBLE_VERSION;
 | 
			
		||||
	}
 | 
			
		||||
	ctl = (snd_ctl_t *) calloc(1, sizeof(snd_ctl_t));
 | 
			
		||||
	if (ctl == NULL) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue