mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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
This commit is contained in:
parent
1587ea7bba
commit
081deac039
3 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
2007-03-13 Michael Smith <msmith@fluendo.com>
|
2007-03-13 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* ext/theora/theoradec.c: (theora_handle_type_packet):
|
* ext/theora/theoradec.c: (theora_handle_type_packet):
|
||||||
|
|
|
@ -35,8 +35,8 @@ int resample_debug_get_level (void);
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (audioresample_debug);
|
GST_DEBUG_CATEGORY_EXTERN (libaudioresample_debug);
|
||||||
#define GST_CAT_DEFAULT audioresample_debug
|
#define GST_CAT_DEFAULT libaudioresample_debug
|
||||||
|
|
||||||
#define RESAMPLE_ERROR GST_ERROR
|
#define RESAMPLE_ERROR GST_ERROR
|
||||||
#define RESAMPLE_WARNING GST_WARNING
|
#define RESAMPLE_WARNING GST_WARNING
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
void resample_scale_ref (ResampleState * r);
|
void resample_scale_ref (ResampleState * r);
|
||||||
void resample_scale_functable (ResampleState * r);
|
void resample_scale_functable (ResampleState * r);
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY (libaudioresample_debug);
|
||||||
|
|
||||||
void
|
void
|
||||||
resample_init (void)
|
resample_init (void)
|
||||||
|
@ -45,6 +46,9 @@ resample_init (void)
|
||||||
if (!inited) {
|
if (!inited) {
|
||||||
oil_init ();
|
oil_init ();
|
||||||
inited = 1;
|
inited = 1;
|
||||||
|
GST_DEBUG_CATEGORY_INIT (libaudioresample_debug, "libaudioresample", 0,
|
||||||
|
"audio resampling library");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue