Hi Mikel, one addition: >> Hi Mikel, >> >> after a bit of testing, I found an easy way to reproduce the problem. >> It seems to occur when the phone is in "connected" state and you try >> to move the source away from the loopback module. Pacmd shows the >> bluetooth source as "SUSPENDED" while the source-output is "RUNNING". > This looks perfectly fine to me. The Bluetooth source is no longer in > use (you moved away the source-output) and therefore SUSPENDED, as > opposed to the source-output which is pulling audio from the alsa card > (your sound card, I guess). No, before I move, while the BT source is still connected to the source-output, the source is suspended while the source-output is running. After the move everything looks like one would expect, the BT source is still suspended while the new source and the source-output are running. > > You should check whether your alsa source is RUNNING. If not, you > might have hit an issue. I however think this is completely unrelated > to the Bluetooth modules. > >> Doing the following triggers the problem: >> >> 1) insert a loopback module with source=your_phone >> 2) wait until the phone is no longer playing >> 3) with pavucontrol move the source of the loopback module to another device >> >> What is strange is that the messages start after the source has already >> changed. >> I inserted a few log statements in module-loopback.c and got: >> >> [bluetooth] module-loopback.c: Source Output detach >> bluez_source.00_12_D1_8C_FC_80 >> [pulseaudio] module-loopback.c: Source Output moving to >> alsa_input.pci-0000_00_1b.0.analog-stereo >> [alsa-source-VT1828S Analog] module-loopback.c: Source Output attach >> alsa_input.pci-0000_00_1b.0.analog-stereo >> [alsa-sink-USB Audio] module-loopback.c: Requesting rewind due to end of >> underrun. >> [alsa-sink-USB Audio] module-loopback.c: Requesting rewind due to end of >> underrun. >> ... > Have you tried loading module-loopback (regardless of BT devices) with > the same sink and source (as resulted from your sequence above, i.e. > probably from alsa to alsa) and see if the issue with the rewinds > reproduces? > > Cheers, > Mikel Regards Georg