mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Print an error message before aborting.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@467 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									db6dc13e68
								
							
						
					
					
						commit
						f8808a2525
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -30,6 +30,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <liboil/liboilfuncs.h>
 | 
					#include <liboil/liboilfuncs.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "log.h"
 | 
				
			||||||
#include "sample-util.h"
 | 
					#include "sample-util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec) {
 | 
					pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec) {
 | 
				
			||||||
| 
						 | 
					@ -316,6 +317,8 @@ void pa_volume_memchunk(pa_memchunk*c, const pa_sample_spec *spec, const pa_cvol
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        default:
 | 
					        default:
 | 
				
			||||||
 | 
					            pa_log_error(__FILE__": ERROR: Unable to change volume of format %s.\n",
 | 
				
			||||||
 | 
					                pa_sample_format_to_string(spec->format));
 | 
				
			||||||
            abort();
 | 
					            abort();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue