| 100 | } |
| 101 | |
| 102 | static gdouble get_ui_quality(GhbValue *settings) |
| 103 | { |
| 104 | int codec = ghb_settings_audio_encoder_codec(settings, "Encoder"); |
| 105 | gdouble quality = ghb_dict_get_double(settings, "Quality"); |
| 106 | if (quality == HB_INVALID_AUDIO_QUALITY) |
| 107 | { |
| 108 | return quality; |
| 109 | } |
| 110 | return get_quality(codec, quality); |
| 111 | } |
| 112 | |
| 113 | static void |
| 114 | ghb_adjust_audio_rate_combos(signal_user_data_t *ud, GhbValue *asettings) |
no test coverage detected