add 6 s delay to fix PA not init problems
This commit is contained in:
parent
5409acb198
commit
744c5cfb38
3
common/kodi-standalone2
Executable file → Normal file
3
common/kodi-standalone2
Executable file → Normal file
@ -27,7 +27,10 @@ APP="${bindir}/${bin_name} --standalone $@"
|
||||
|
||||
PULSE_START="$(which start-pulseaudio-x11)"
|
||||
if [ -n "$PULSE_START" ]; then
|
||||
# delay needed to allow PA to initialize for xbmc
|
||||
# to detect all audio sources
|
||||
$PULSE_START
|
||||
sleep 6s
|
||||
else
|
||||
PULSE_SESSION="$(which pulse-session)"
|
||||
if [ -n "$PULSE_SESSION" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user