Lines Matching refs:result_gain
139 gdouble * target_gain, gdouble * result_gain);
297 self->result_gain = 0.0; in gst_rg_volume_init()
384 g_value_set_double (value, self->result_gain); in gst_rg_volume_get_property()
595 gdouble target_gain, result_gain, result_volume; in gst_rg_volume_update_gain() local
598 gst_rg_volume_determine_gain (self, &target_gain, &result_gain); in gst_rg_volume_update_gain()
600 result_volume = DB_TO_LINEAR (result_gain); in gst_rg_volume_update_gain()
608 result_gain, result_volume); in gst_rg_volume_update_gain()
611 result_gain = LINEAR_TO_DB (result_volume); in gst_rg_volume_update_gain()
615 if (target_gain == result_gain) { in gst_rg_volume_update_gain()
618 result_gain, result_volume); in gst_rg_volume_update_gain()
622 result_gain, result_volume, target_gain); in gst_rg_volume_update_gain()
626 result_gain_changed = (self->result_gain != result_gain); in gst_rg_volume_update_gain()
629 self->result_gain = result_gain; in gst_rg_volume_update_gain()
641 gdouble * result_gain) in gst_rg_volume_determine_gain() argument
682 *result_gain = gain; in gst_rg_volume_determine_gain()
685 *result_gain = LINEAR_TO_DB (1. / peak) + self->headroom; in gst_rg_volume_determine_gain()