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

Function audio_def_setting_update

gtk/src/audiohandler.c:2001–2014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1999}
2000
2001static void
2002audio_def_setting_update(signal_user_data_t *ud, GtkWidget *widget)
2003{
2004 GtkListBoxRow *row = audio_settings_get_row(widget);
2005 gint index = gtk_list_box_row_get_index(row);
2006
2007 GhbValue *alist = ghb_dict_get_value(ud->settings, "AudioList");
2008 int count = ghb_array_len(alist);
2009 if (!block_updates && index >= 0 && index < count)
2010 {
2011 GhbValue *adict = ghb_array_get(alist, index);
2012 ghb_widget_to_setting(adict, widget);
2013 }
2014}
2015
2016static void
2017audio_add_lang_iter(GtkTreeModel *tm, GtkTreeIter *iter, signal_user_data_t *ud)

Calls 3

audio_settings_get_rowFunction · 0.85
ghb_dict_get_valueFunction · 0.85
ghb_widget_to_settingFunction · 0.85

Tested by

no test coverage detected