siddhpant / broo

Connect your phone as microphone wirelessly. Supports both PipeWire and PulseAudio.
GNU Affero General Public License v3.0
121 stars 6 forks source link

Doesn't work on ArchLinux with pipewire. #5

Closed th3foxx closed 2 years ago

th3foxx commented 2 years ago

Hi, I followed the instructions to run your script, but nothing works. Unless the "Monitor of Broo" appears, but it does not reproduce the sound... But I hear my voice from mumble, which is transmitted through the phone. Btw, if I terminate the script, then alsa_output remains as an input device, which transmits the sound of the system itself.

Please help me to solve this problem. Thank you in advance Снимок экрана от 2022-02-26 21-12-36 Снимок экрана от 2022-02-26 21-16-06 Снимок экрана от 2022-02-26 21-19-05

(./setup_broo: line 209: 1747 Segmentation fault (memory stack flushed to disk) mumble > /dev/null 2>&1)

Снимок экрана от 2022-02-26 21-22-06

siddhpant commented 2 years ago

First of all, sorry for those ugly which outputs. I didn't know it wasn't standard (and thought it just returns status code). I have moved to POSIX command, please update and use setup again.


Unless the "Monitor of Broo" appears, but it does not reproduce the sound... But I hear my voice from mumble, which is transmitted through the phone.

Weird, because I specifically cope for it in the script itself. Can you tell me the output/behaviour of the following commands after setting up?

pactl set-sink-volume Broo 0
pactl set-default-source Broo
pactl move-sink-input $(get_mumble_sink_input_index) Broo

(./setup_broo: line 209: 1747 Segmentation fault (memory stack flushed to disk) mumble > /dev/null 2>&1)

Please reinstall Mumble if this persists, or build from source. This is a problem with Mumble, you should make an issue in https://github.com/mumble-voip/issues if this persists.

Also, line 209 doesn't call mumble. Check your modifications to the scripts too.


Btw, if I terminate the script, then alsa_output remains as an input device, which transmits the sound of the system itself.

That's the default behavior on Linux. Here, just the name of the stereo sink is changed in Discord, and I think maybe the name change is actually Electron's problem (Discord is made on Electron). I don't know how to change the name, any help would be appreciated.

Here's how it looks even before using Broo.

image

siddhpant commented 2 years ago

Stale issue, renaming to make it explicit.

(Mobile app doesn't have any option to add new labels. 😅)

siddhpant commented 2 years ago

Closing because no reply.

Also, the mumble audio problem might be fixed by ddfa7f7.