Feature request: Pulse should automatically load/unload module-loopback when a wireless audio source is connected/disconnected

Asked by Sentrist Starleaf on 2012-04-26

I believe there are a good number of users who want to stream music or other audio from their bluetooth (or other wireless) devices and play it on their computers' speakers. In operating systems with Pulse Audio, this can be done by loading the module-loopback. There's no way of doing so that I know of, other than manually via command-line. This is impractical for casual users. To make matters worse, forgetting to unload this module before disconnecting will result in it hooking any other input device it can find. If it hooks a microphone that's located near the speaker, this can cause a feedback.

I request that when a wireless audio source is connected, Pulse automatically designates the device as the input device, then load the module-loopback. The module is also automatically unloaded when user disconnects the device or choose another audio input device.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pulseaudio Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-04-26
Last query:
2012-04-26
Last reply:
2012-04-26
Sentrist Starleaf (starleaf1) said : #2

Thanks actionparsnip, that solved my question.