Merge pull request #1911 from fewtarius/dev
Bug fixes: Audio latency, battery/wifi hotkeys.
This commit is contained in:
commit
0bd6368426
10 changed files with 16 additions and 8 deletions
|
@ -65,7 +65,7 @@ PKG_MESON_OPTS_TARGET="-Ddocs=disabled \
|
|||
-Dpw-cat=enabled \
|
||||
-Dudev=enabled \
|
||||
-Dudevrulesdir=/usr/lib/udev/rules.d \
|
||||
-Dsdl2=disabled \
|
||||
-Dsdl2=enabled \
|
||||
-Dsndfile=enabled \
|
||||
-Dlibpulse=enabled \
|
||||
-Droc=disabled \
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_notice = "false"
|
|||
audio_enable_menu_ok = "false"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "/usr/share/retroarch/filters/64bit/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_ok = "false"
|
|||
audio_enable = "true"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "~/.config/retroarch/filters/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_ok = "false"
|
|||
audio_enable = "true"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "~/.config/retroarch/filters/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_ok = "false"
|
|||
audio_enable = "true"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "~/.config/retroarch/filters/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_ok = "false"
|
|||
audio_enable = "true"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "~/.config/retroarch/filters/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -23,7 +23,7 @@ audio_enable_menu_ok = "false"
|
|||
audio_enable = "true"
|
||||
audio_fastforward_mute = "false"
|
||||
audio_filter_dir = "~/.config/retroarch/filters/audio"
|
||||
audio_latency = "64"
|
||||
audio_latency = "32"
|
||||
audio_max_timing_skew = "0.049999"
|
||||
audio_mixer_mute_enable = "false"
|
||||
audio_mixer_volume = "0.000000"
|
||||
|
|
|
@ -65,6 +65,7 @@ genh.integerscale=0
|
|||
genh.ratio=4/3
|
||||
ggh.integerscale=0
|
||||
global.analogue=1
|
||||
global.audiolatency=32
|
||||
global.autosave=2
|
||||
global.incrementalsavestates=0
|
||||
global.netplay=0
|
||||
|
|
|
@ -186,3 +186,10 @@ function set_es_path() {
|
|||
}
|
||||
|
||||
set_es_path "Master"
|
||||
|
||||
### Set default audio latency
|
||||
LATENCY=$(get_setting global.audiolatency)
|
||||
if [ -z "${LATENCY}" ]
|
||||
then
|
||||
set_setting global.audiolatency 32
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
. /etc/profile
|
||||
|
||||
AUDIOTEST=$(ps -ef | grep [p]ulseaudio)
|
||||
AUDIOTEST=$(ps -ef | grep [p]ipewire)
|
||||
if [ ! $? = 0 ]
|
||||
then
|
||||
PLAYCMD="aplay -q"
|
||||
|
|
Loading…
Reference in a new issue