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
#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
void resample_scale_ref (ResampleState * r);
void resample_scale_functable (ResampleState * r);
+GST_DEBUG_CATEGORY (libaudioresample_debug);
void
resample_init (void)
if (!inited) {
oil_init ();
inited = 1;
+ GST_DEBUG_CATEGORY_INIT (libaudioresample_debug, "libaudioresample", 0,
+ "audio resampling library");
+
}
}