mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Read $LIBASOUND_DEBUG as integer
Read $LIBASOUND_DEBUG as integer, 1 = hw_params dump, 2 = assert.
This commit is contained in:
		
							parent
							
								
									cac370de25
								
							
						
					
					
						commit
						87ec7df91d
					
				
					 3 changed files with 10 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -135,7 +135,7 @@ static void snd_err_msg_default(const char *file, int line, const char *function
 | 
			
		|||
		fprintf(stderr, ": %s", snd_strerror(err));
 | 
			
		||||
	putc('\n', stderr);
 | 
			
		||||
	va_end(arg);
 | 
			
		||||
	if (! strcmp(verbose, "assert"))
 | 
			
		||||
	if (! strcmp(verbose, "assert") || atoi(verbose) > 1)
 | 
			
		||||
		assert(0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue