09-19-2020, 11:11 PM
I found here that as I'm using a Bluetooth dongle, so the ACTION on the file udev rule "10-a2dp-autoconnect.rules" was passing the name of the device as a parameter to the system service bluealsa-aplay.
So to solve that I just put the 00:00:00:00:00:00 in the /etc/systemd/system/bluealsa-aplay@.service
ExecStart=/usr/bin/bluealsa-aplay --profile-a2dp --pcm-buffer-time=$BUFFERTIME -D $AUDIODEV 00:00:00:00:00:00
It's not an elegant solution at all, but solves my problem
So to solve that I just put the 00:00:00:00:00:00 in the /etc/systemd/system/bluealsa-aplay@.service
ExecStart=/usr/bin/bluealsa-aplay --profile-a2dp --pcm-buffer-time=$BUFFERTIME -D $AUDIODEV 00:00:00:00:00:00
It's not an elegant solution at all, but solves my problem