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

Function audio_def_quality_enable_changed_cb

gtk/src/audiohandler.c:2302–2317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2300}
2301
2302G_MODULE_EXPORT void
2303audio_def_quality_enable_changed_cb (GtkWidget *widget, gpointer data)
2304{
2305 signal_user_data_t *ud = ghb_ud();
2306 audio_def_setting_update(ud, widget);
2307
2308 GtkListBoxRow *row = audio_settings_get_row(widget);
2309 gint index = gtk_list_box_row_get_index(row);
2310
2311 GhbValue *alist = ghb_dict_get_value(ud->settings, "AudioList");
2312 GhbValue *adict = ghb_array_get(alist, index);
2313
2314 audio_def_settings_bitrate_show(GTK_WIDGET(row),
2315 !ghb_dict_get_bool(adict, "AudioTrackQualityEnable"));
2316 ghb_clear_presets_selection(ud);
2317}
2318
2319G_MODULE_EXPORT void
2320audio_def_quality_changed_cb (GtkWidget *widget, gdouble quality, gpointer data)

Callers

nothing calls this directly

Calls 7

ghb_udFunction · 0.85
audio_def_setting_updateFunction · 0.85
audio_settings_get_rowFunction · 0.85
ghb_dict_get_valueFunction · 0.85
ghb_dict_get_boolFunction · 0.85

Tested by

no test coverage detected