| 661 | } |
| 662 | |
| 663 | static void |
| 664 | set_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 | |
| 677 | static GhbValue* |
| 678 | audio_get_selected_settings(signal_user_data_t *ud, int *index) |
no test coverage detected