mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 04:38:01 +02:00
bluez.lua: set the loopback input stream media class to internal
This hides the loopback stream node from applications, making desktop environments to not show the 'recording from microphone' icon (Eg gnome-panel) when the bluetooth device is not recording yet.
This commit is contained in:
parent
2e9e3a7564
commit
95ae88d3e7
1 changed files with 1 additions and 0 deletions
|
|
@ -386,6 +386,7 @@ function CreateDeviceLoopbackSource (dev_name, dec_desc, dev_id)
|
|||
local args = Json.Object {
|
||||
["capture.props"] = Json.Object {
|
||||
["node.name"] = string.format ("bluez_capture.%s", dev_name),
|
||||
["media.class"] = "Stream/Input/Audio/Internal",
|
||||
["node.description"] =
|
||||
string.format ("Bluetooth capture for %s", dec_desc),
|
||||
["audio.channels"] = 1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue