[polypaudio-commits] r467 - /trunk/polyp/sample-util.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Jan 30 03:38:23 PST 2006
Author: ossman
Date: Mon Jan 30 12:38:20 2006
New Revision: 467
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=467&root=polypaudio&view=rev
Log:
Print an error message before aborting.
Modified:
trunk/polyp/sample-util.c
Modified: trunk/polyp/sample-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/polyp/sample-util.c?rev=467&root=polypaudio&r1=466&r2=467&view=diff
==============================================================================
--- trunk/polyp/sample-util.c (original)
+++ trunk/polyp/sample-util.c Mon Jan 30 12:38:20 2006
@@ -30,6 +30,7 @@
#include <liboil/liboilfuncs.h>
+#include "log.h"
#include "sample-util.h"
pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec) {
@@ -316,6 +317,8 @@
}
default:
+ pa_log_error(__FILE__": ERROR: Unable to change volume of format %s.\n",
+ pa_sample_format_to_string(spec->format));
abort();
}
}
More information about the pulseaudio-commits
mailing list