
Would I have to fork the bluealsa-aplay process with & in the script also? It doesn't change the output of the script at this time.Īnother issue I get randomly when running bluealsa-aplay is bluealsa: Transport not available: /org/bluez/hci0/dev_(my device mac address)/fd1īut if I execute the command right after startup, it is fine. I run the script with root permissions, and all the commands are the same as I would do manually. So I tried to put them in a shell script, but the script always says bluealsa-aplay: BlueALSA connection failed: No such file or directory I'm not too worried about defining who can play with the mac address since the only paired devices are ones I manually pair the first time and trust.Įxact commands: sudo rm /var/run/bluealsa/* With HFP, bluealsa always includes the mandatory CVSD codec and may also include the optional mSBC codec. I need to remove the contents of /var/run/bluealsa, and then I start bluealsa under the a2dp-sink profile, then I run bluealsa-aplay for any mac address so any connected device can play music. With A2DP, bluealsa always includes the mandatory SBC codec and may also include various optional codecs like AAC, aptX, and other.
Bluealsa hanging audiotest manual#
I have it working, but it requires manual command entering. Most, but not all, modern sound cards do provide this information.
Bluealsa hanging audiotest Bluetooth#
I'm making my rpi 2 into a bluetooth adapter for a speaker, so a phone can connect and play music on the speaker. To work with bluealsa-aplay this simple control must provide decibel scaling information for the volume control.

It outputs the following error: ALSA lib bluealsa-pcm. However, Im still experiencing issues with the following command: arecord -D bth-multi -c 2 -r 44100 -f s16le test.wav. The best thing? The base model is only $20 $5!.ĭo you know a related subreddit? We'd love to know. Edit: I learned that dmix and dsnoop only work with hardware devices so Im using the multi plugin instead. In other words: the output the the Bluetooth device is working, only if I am not listening to. However: If the audio up is outputting to a non-Bluetooth device (e.g with the jack connector) it is working fine, even simultaneously with audio down. Welcome to /r/raspberry_pi, a subreddit for discussing the raspberry pi credit card sized, ARM powered computer, and the glorious things we can do with it. Somehow, Bluetooth audio-out is not working when listening at the same time to a capture device. The detailed steps I followed are below, these mean I can now play audio using aplay without having to specify the device, e.g. Pi project ideas: There's a huge list right here on this sub! Ultimately I was unable to debug this and got impatient, so just wiped the SD and started from scratch. Friendly reminder: Please don't just post pictures of unused pis - do a project!Ĭomplete r/raspberry_pi Rules Check the FAQ and Helpdesk here
