I want to play a .wav file ( or .mp3 ) using command line. The problem is that bluetooth hands free is connected, so the file sounds to the BT earphone, and not in speaker. I tried :
Code:
gst-launch playbin2 uri=file:///root/pigeon.wav
but I listen it on BT handsfree, and not on phone's loud speaker.
also I tried to put pulsesrc device=source.hw1 parameter without any luck.
the hole idea is to make a kind of alarm when the signal from bluetooth is lower than a specific level, ( usefull if you forget it ).
I want to play a .wav file ( or .mp3 ) using command line. The problem is that bluetooth hands free is connected, so the file sounds to the BT earphone, and not in speaker. I tried :
also I tried to put pulsesrc device=source.hw1 parameter without any luck.
the hole idea is to make a kind of alarm when the signal from bluetooth is lower than a specific level, ( usefull if you forget it ).
thank you!