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

Function set_pref_audio_settings

gtk/src/audiohandler.c:663–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663static void
664set_pref_audio_settings (GhbValue *settings)
665{
666 int title_id;
667 GhbValue *copy_mask;
668
669 copy_mask = ghb_create_copy_mask(settings);
670 ghb_dict_set(settings, "AudioCopyMask", copy_mask);
671 title_id = ghb_dict_get_int(settings, "title");
672 GhbValue *job = ghb_get_job_settings(settings);
673 ghb_dict_remove(job, "Audio");
674 hb_preset_job_add_audio(ghb_scan_handle(), title_id, settings, job);
675}
676
677static GhbValue*
678audio_get_selected_settings(signal_user_data_t *ud, int *index)

Callers 1

audio_reset_cbFunction · 0.85

Calls 5

ghb_create_copy_maskFunction · 0.85
ghb_dict_get_intFunction · 0.85
ghb_get_job_settingsFunction · 0.85
hb_preset_job_add_audioFunction · 0.85
ghb_scan_handleFunction · 0.85

Tested by

no test coverage detected