The reason I am doing this is that my bluetooth headset disconnects a few seconds after I stop any playing audio. I noticed that if I let cmus play something in a minimized terminal window with zero volume (the cmus volume, not the system volume), the headset stays connnected. I haven't found any other solution for this problem.
So to monkey-solve this, I have decided to find something which will play an audio file with zero volume, which I can set to autostart on boot in the background. I hope this will solve my issue of disconnecting bluetooth headset.
I found mpg123 but couldn't figure out how to set the volume of the playing audio file with command-line flags.
Laptop: xps 13 9365
PS: it happens on all distros I have tried. Currently I am on ubuntu 20.04.
PPS: it will be awesome if the command is light on CPU usage. Maybe some music files require less decoding and hence consume less power?
Any help will be super awesome! thank you!