BlueALSA loopback - PCM write

37 Views Asked by At

As for now We are A2DP sink speaker,We open snd_pcm_open() with HW device and write PCM continuously based on asound.conf. We run bluealsa as audio streaming daemon and bluealsa-aplay as audio player.

But now onward, We need to be bluetooth A2DP source and we should use "bluealsa" as plugin and other audio streaming services can write with "bluealsa" device, So that writing audio will be sent to connected BT device using bluealsa daemon.

Here, I don't want to stop other music services for changing the pcm device from hw0,1 to bluealsa once after BT got connected. I want to continue as it is and bluealsa plugin needs to add/loopback simultaneously in the pcm device.

Host stack : Bluez 5.72

Audio stack : BlueALSA 4.1.1

Correct me if I'm wrong. I am new to alsa and PCM stuff

0

There are 0 best solutions below