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

Function audio_bitrate_changed_cb

gtk/src/audiohandler.c:1099–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1097}
1098
1099G_MODULE_EXPORT void
1100audio_bitrate_changed_cb (GtkWidget *widget, gpointer data)
1101{
1102 int br;
1103 signal_user_data_t *ud = ghb_ud();
1104
1105 ghb_widget_to_setting(ud->settings, widget);
1106 br = ghb_settings_audio_bitrate_rate(ud->settings, "AudioBitrate");
1107 GhbValue * asettings = audio_get_selected_settings(ud, NULL);
1108 if (asettings != NULL && !ghb_audio_quality_enabled(asettings))
1109 {
1110 audio_update_setting(ghb_int_value_new(br), "Bitrate", ud);
1111 }
1112}
1113
1114G_MODULE_EXPORT void
1115audio_samplerate_changed_cb (GtkWidget *widget, gpointer data)

Callers

nothing calls this directly

Calls 6

ghb_udFunction · 0.85
ghb_widget_to_settingFunction · 0.85
audio_update_settingFunction · 0.85

Tested by

no test coverage detected