movieplayer: introduce g_settings.movieplayer_select_ac3_atype0

Origin commit data
------------------
Commit: 13589d8689
Author: retsim01 <mrdata1972+neutrino@gmail.com>
Date: 2021-10-03 (Sun, 03 Oct 2021)

Origin message was:
------------------
- movieplayer: introduce g_settings.movieplayer_select_ac3_atype0
This commit is contained in:
retsim01
2021-10-03 23:09:22 +02:00
committed by vanhofen
parent 539649f64a
commit 6c33baf2f9
4 changed files with 25 additions and 0 deletions

View File

@@ -1187,6 +1187,9 @@ int CNeutrinoApp::loadSetup(const char *fname)
g_settings.movieplayer_bisection_jump = configfile.getInt32("movieplayer_bisection_jump", 5);
g_settings.movieplayer_display_playtime = configfile.getInt32("movieplayer_display_playtime", g_info.hw_caps->display_type == HW_DISPLAY_LED_NUM);
g_settings.movieplayer_repeat_on = configfile.getInt32("movieplayer_repeat_on", CMoviePlayerGui::REPEAT_OFF);
#if HAVE_CST_HARDWARE
g_settings.movieplayer_select_ac3_atype0 = configfile.getBool("movieplayer_select_ac3_atype0", false);
#endif
g_settings.movieplayer_timeosd_while_searching = configfile.getInt32("movieplayer_timeosd_while_searching", 1);
// filebrowser
@@ -2189,6 +2192,9 @@ void CNeutrinoApp::saveSetup(const char *fname)
configfile.setInt32("movieplayer_bisection_jump", g_settings.movieplayer_bisection_jump);
configfile.setInt32("movieplayer_display_playtime", g_settings.movieplayer_display_playtime);
configfile.setInt32("movieplayer_repeat_on", g_settings.movieplayer_repeat_on);
#if HAVE_CST_HARDWARE
configfile.setBool("movieplayer_select_ac3_atype0", g_settings.movieplayer_select_ac3_atype0);
#endif
configfile.setInt32("movieplayer_timeosd_while_searching", g_settings.movieplayer_timeosd_while_searching);
// filebrowser