• Home
  • Raw
  • Download

Lines Matching refs:gain

129   gdouble gain;  member
155 gdouble gain; in gst_iir_equalizer_band_set_property() local
157 gain = g_value_get_double (value); in gst_iir_equalizer_band_set_property()
158 GST_DEBUG_OBJECT (band, "gain = %lf -> %lf", band->gain, gain); in gst_iir_equalizer_band_set_property()
159 if (gain != band->gain) { in gst_iir_equalizer_band_set_property()
162 band->gain = gain; in gst_iir_equalizer_band_set_property()
165 GST_DEBUG_OBJECT (band, "changed gain = %lf ", band->gain); in gst_iir_equalizer_band_set_property()
227 g_value_set_double (value, band->gain); in gst_iir_equalizer_band_get_property()
284 band->gain = 0.0; in gst_iir_equalizer_band_init()
476 gdouble gain, omega, bw; in setup_peak_filter() local
479 gain = arg_to_scale (band->gain); in setup_peak_filter()
487 alpha1 = alpha * gain; in setup_peak_filter()
488 alpha2 = alpha / gain; in setup_peak_filter()
501 band->gain, band->width, band->freq, band->a0, band->a1, band->a2, in setup_peak_filter()
514 gdouble gain, omega, bw; in setup_low_shelf_filter() local
518 gain = arg_to_scale (band->gain); in setup_low_shelf_filter()
524 egm = gain - 1.0; in setup_low_shelf_filter()
525 egp = gain + 1.0; in setup_low_shelf_filter()
528 delta = 2.0 * sqrt (gain) * alpha; in setup_low_shelf_filter()
531 band->a0 = ((egp - egm * cos (omega) + delta) * gain) / b0; in setup_low_shelf_filter()
532 band->a1 = ((egm - egp * cos (omega)) * 2.0 * gain) / b0; in setup_low_shelf_filter()
533 band->a2 = ((egp - egm * cos (omega) - delta) * gain) / b0; in setup_low_shelf_filter()
541 band->gain, band->width, band->freq, band->a0, band->a1, band->a2, in setup_low_shelf_filter()
554 gdouble gain, omega, bw; in setup_high_shelf_filter() local
558 gain = arg_to_scale (band->gain); in setup_high_shelf_filter()
564 egm = gain - 1.0; in setup_high_shelf_filter()
565 egp = gain + 1.0; in setup_high_shelf_filter()
568 delta = 2.0 * sqrt (gain) * alpha; in setup_high_shelf_filter()
571 band->a0 = ((egp + egm * cos (omega) + delta) * gain) / b0; in setup_high_shelf_filter()
572 band->a1 = ((egm + egp * cos (omega)) * -2.0 * gain) / b0; in setup_high_shelf_filter()
573 band->a2 = ((egp + egm * cos (omega) - delta) * gain) / b0; in setup_high_shelf_filter()
581 band->gain, band->width, band->freq, band->a0, band->a1, band->a2, in setup_high_shelf_filter()
594 passthrough = passthrough && (equ->bands[i]->gain == 0.0); in set_passthrough()