MPV should use pulseaudio, tweak bluetooth_sense timeout.
This commit is contained in:
parent
7b79e634d7
commit
548a8d53e9
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ pre_configure_target() {
|
|||
|
||||
configure_target() {
|
||||
cd ${PKG_BUILD}
|
||||
${PKG_BUILD}/waf configure --enable-sdl2 --enable-sdl2-gamepad --disable-pulse --disable-libbluray ${PKG_WAF_OPTS}
|
||||
${PKG_BUILD}/waf configure --enable-sdl2 --enable-sdl2-gamepad --enable-pulse --disable-libbluray ${PKG_WAF_OPTS}
|
||||
}
|
||||
|
||||
make_target() {
|
||||
|
|
|
@ -15,10 +15,10 @@ do
|
|||
CONNECTED=$(bluetoothctl devices Connected | grep ${DEVICE} >/dev/null 2>&1)
|
||||
if [ ! $? = 0 ]
|
||||
then
|
||||
echo "connect ${DEVICE}" | bluetoothctl --timeout 2 >/dev/null 2>&1
|
||||
echo "connect ${DEVICE}" | bluetoothctl --timeout 5 >/dev/null 2>&1
|
||||
fi
|
||||
sleep .5
|
||||
sleep .2
|
||||
done
|
||||
fi
|
||||
sleep 3
|
||||
sleep 5
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue