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

Function audio_update_setting

gtk/src/audiohandler.c:941–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941static void
942audio_update_setting(
943 GhbValue *val,
944 const char *name,
945 signal_user_data_t *ud)
946{
947 GhbValue *asettings;
948
949 if (block_updates)
950 {
951 ghb_value_free(&val);
952 return;
953 }
954
955 asettings = audio_get_selected_settings(ud, NULL);
956 if (asettings != NULL)
957 {
958 if (val != NULL)
959 ghb_dict_set(asettings, name, val);
960 else
961 ghb_dict_remove(asettings, name);
962 audio_deps(ud, asettings, NULL);
963 ghb_update_summary_info(ud);
964 ghb_audio_list_refresh_selected(ud);
965 ghb_live_reset(ud);
966 }
967 else
968 {
969 ghb_value_free(&val);
970 }
971}
972
973G_MODULE_EXPORT void
974audio_codec_changed_cb (GtkWidget *widget, gpointer data)

Callers 9

audio_codec_changed_cbFunction · 0.85
audio_track_changed_cbFunction · 0.85
audio_mix_changed_cbFunction · 0.85
audio_name_changed_cbFunction · 0.85
audio_bitrate_changed_cbFunction · 0.85
drc_widget_changed_cbFunction · 0.85
gain_widget_changed_cbFunction · 0.85

Calls 5

audio_depsFunction · 0.85
ghb_update_summary_infoFunction · 0.85
ghb_live_resetFunction · 0.85

Tested by

no test coverage detected