diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-08-30 14:15:03 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-08-30 14:15:03 +0000 |
commit | 5c4b6ce07956e82fb5c1d59b3fb9323c178abd99 (patch) | |
tree | ca1cf009a5acc90df96c6cc4b7da240cf8aed63b /gst/audiofx | |
parent | 331b016659159035edfb8dff12d607db3941d2cd (diff) |
Make stuff compile with GST_DISABLE_GST_DEBUG.
Original commit message from CVS:
* ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create):
* gst/alpha/gstalpha.c: (gst_alpha_get_unit_size):
* gst/audiofx/audiocheblimit.c: (generate_coefficients):
* gst/avi/gstavidemux.c: (gst_avi_demux_src_convert):
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_element_length):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_check_subtitle_buffer):
Make stuff compile with GST_DISABLE_GST_DEBUG.
Diffstat (limited to 'gst/audiofx')
-rw-r--r-- | gst/audiofx/audiocheblimit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/audiofx/audiocheblimit.c b/gst/audiofx/audiocheblimit.c index 47fadf98..e4da0ca1 100644 --- a/gst/audiofx/audiocheblimit.c +++ b/gst/audiofx/audiocheblimit.c @@ -604,6 +604,8 @@ generate_coefficients (GstAudioChebLimit * filter) filter->type, filter->poles, filter->cutoff, filter->ripple); GST_LOG_OBJECT (filter, "%.2f dB gain @ 0 Hz", 20.0 * log10 (calculate_gain (a, b, np, np, 1.0, 0.0))); + +#ifndef GST_DISABLE_GST_DEBUG { gdouble wc = 2.0 * M_PI * (filter->cutoff / @@ -614,6 +616,8 @@ generate_coefficients (GstAudioChebLimit * filter) 20.0 * log10 (calculate_gain (a, b, np, np, zr, zi)), (int) filter->cutoff); } +#endif + GST_LOG_OBJECT (filter, "%.2f dB gain @ %d Hz", 20.0 * log10 (calculate_gain (a, b, np, np, -1.0, 0.0)), GST_AUDIO_FILTER (filter)->format.rate / 2); |