MPV should use pulseaudio, tweak bluetooth_sense timeout.

This commit is contained in:
fewtarius 2023-08-10 22:24:39 +00:00
parent 7b79e634d7
commit 548a8d53e9
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 4 additions and 4 deletions

View file

@ -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() {

View file

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