summaryrefslogtreecommitdiffstats
path: root/gst/audioresample
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2007-03-14 14:48:12 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2007-03-14 14:48:12 +0000
commitdddcbbc3e02837f7ea7734c6601876ea038583a3 (patch)
tree2d6a82d9521a4e91595ef1b2aa778ead9954c013 /gst/audioresample
parent1714161b11e2e4a919a315cecd93f8dd41ee29f7 (diff)
downloadgst-plugins-bad-dddcbbc3e02837f7ea7734c6601876ea038583a3.tar.gz
gst-plugins-bad-dddcbbc3e02837f7ea7734c6601876ea038583a3.tar.bz2
gst-plugins-bad-dddcbbc3e02837f7ea7734c6601876ea038583a3.zip
gst/audioresample/: Since I really am not interested in a debug line for each sample being processed, move the librar...
Original commit message from CVS: * gst/audioresample/debug.h: * gst/audioresample/resample.c: (resample_init): Since I really am not interested in a debug line for each sample being processed, move the library's debugging to its own category, libaudioresample
Diffstat (limited to 'gst/audioresample')
-rw-r--r--gst/audioresample/debug.h4
-rw-r--r--gst/audioresample/resample.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gst/audioresample/debug.h b/gst/audioresample/debug.h
index 27342a0a..ff7deafb 100644
--- a/gst/audioresample/debug.h
+++ b/gst/audioresample/debug.h
@@ -35,8 +35,8 @@ int resample_debug_get_level (void);
#include <gst/gst.h>
-GST_DEBUG_CATEGORY_EXTERN (audioresample_debug);
-#define GST_CAT_DEFAULT audioresample_debug
+GST_DEBUG_CATEGORY_EXTERN (libaudioresample_debug);
+#define GST_CAT_DEFAULT libaudioresample_debug
#define RESAMPLE_ERROR GST_ERROR
#define RESAMPLE_WARNING GST_WARNING
diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c
index 8a73de31..c464adf8 100644
--- a/gst/audioresample/resample.c
+++ b/gst/audioresample/resample.c
@@ -36,6 +36,7 @@
void resample_scale_ref (ResampleState * r);
void resample_scale_functable (ResampleState * r);
+GST_DEBUG_CATEGORY (libaudioresample_debug);
void
resample_init (void)
@@ -45,6 +46,9 @@ resample_init (void)
if (!inited) {
oil_init ();
inited = 1;
+ GST_DEBUG_CATEGORY_INIT (libaudioresample_debug, "libaudioresample", 0,
+ "audio resampling library");
+
}
}