![]() |
how can I play sound on phone's speaker from command line?
Hello,
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 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! |
All times are GMT. The time now is 01:38. |
vBulletin® Version 3.8.8