Merge pull request #1911 from fewtarius/dev

Bug fixes: Audio latency, battery/wifi hotkeys.
This commit is contained in:
fewtarius 2023-08-11 11:08:47 -04:00 committed by GitHub
commit 0bd6368426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 16 additions and 8 deletions

View file

@ -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 \

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -4,7 +4,7 @@
. /etc/profile
AUDIOTEST=$(ps -ef | grep [p]ulseaudio)
AUDIOTEST=$(ps -ef | grep [p]ipewire)
if [ ! $? = 0 ]
then
PLAYCMD="aplay -q"