Skip to content

Commit

Permalink
Fix audio delay
Browse files Browse the repository at this point in the history
  • Loading branch information
XK9274 authored Oct 28, 2023
1 parent 603a2f9 commit 1220c18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions moonlight/script/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ set_snd_level() {
start_moonlight() {
export LD_LIBRARY_PATH=../lib:/lib:/config/lib:/mnt/SDCARD/miyoo/lib:/mnt/SDCARD/.tmp_update/lib:/mnt/SDCARD/.tmp_update/lib/parasyte:/sbin:/usr/sbin:/bin:/usr/bin
export SDL_VIDEODRIVER=mmiyoo
export SDL_AUDIODRIVER=mmiyoo
export SDL_AUDIODRIVER=dsp
export EGL_VIDEODRIVER=mmiyoo

kill_audio_servers
set_snd_level "${curvol}" &
LD_PRELOAD=$moonlightdir/lib/libuuid.so moonlight -config ./config/moonlight.conf menu
# kill_audio_servers
# set_snd_level "${curvol}" &
LD_PRELOAD="$miyoodir/lib/libpadsp.so:$moonlightdir/lib/libuuid.so" moonlight -config ./config/moonlight.conf menu
}

main() {
curvol=$(get_curvol) # grab current volume
# curvol=$(get_curvol) # grab current volume
start_moonlight
}

Expand Down

0 comments on commit 1220c18

Please sign in to comment.