MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / quality_widget_changed_cb

Function quality_widget_changed_cb

gtk/src/audiohandler.c:1224–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224G_MODULE_EXPORT void
1225quality_widget_changed_cb (GtkWidget *widget, gdouble quality, gpointer data)
1226{
1227 signal_user_data_t *ud = ghb_ud();
1228 ghb_widget_to_setting(ud->settings, widget);
1229
1230 int codec = ghb_settings_audio_encoder_codec(ud->settings, "AudioEncoder");
1231 quality = get_quality(codec, quality);
1232 char *s_quality = get_quality_string(codec, quality);
1233 ghb_ui_update("AudioTrackQualityValue", ghb_string_value(s_quality));
1234 g_free(s_quality);
1235
1236 GhbValue * asettings = audio_get_selected_settings(ud, NULL);
1237 if (asettings != NULL && ghb_audio_quality_enabled(asettings))
1238 {
1239 audio_update_setting(ghb_double_value_new(quality), "Quality", ud);
1240 }
1241}
1242
1243G_MODULE_EXPORT void
1244drc_widget_changed_cb (GtkWidget *widget, gdouble drc, gpointer data)

Callers

nothing calls this directly

Calls 10

ghb_udFunction · 0.85
ghb_widget_to_settingFunction · 0.85
get_qualityFunction · 0.85
get_quality_stringFunction · 0.85
ghb_ui_updateFunction · 0.85
ghb_string_valueFunction · 0.85
audio_update_settingFunction · 0.85

Tested by

no test coverage detected