-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PipeWire audio on more systems
First, support is added for using pipewire-media-session on systems that haven't yet been migrated to WirePlumber. While pipewire-media-session is effectively deprecated, it is still the only session manager on enough systems to be worth supporting. Second, the script now calls the pipewire binary directly to launch the PulseAudio compatibility layer instead of via the pipewire-pulse symlink. Support for the PulseAudio protocol is built into PipeWire, but Debian has a separate package to install the pipewire-pulse symlink, config file, user service, and documentation. Since CRD doesn't use the user service and provides its own config file, bypassing the symlink allows PipeWire audio forwarding to work even on systems without the pipewire-pulse package installed. (cherry picked from commit b253792) Bug: 1457635 Change-Id: I542ef3b25b9f5bd9bdf6f5dcd0c674be1d11bbd3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4641281 Auto-Submit: Erik Jensen <rkjnsn@chromium.org> Commit-Queue: Erik Jensen <rkjnsn@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1161964} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643563 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/branch-heads/5845@{#65} Cr-Branched-From: 5a5dff6-refs/heads/main@{#1160321}
- Loading branch information
Erik Jensen
authored and
Chromium LUCI CQ
committed
Jun 25, 2023
1 parent
d1a46ed
commit 1de9788
Showing
6 changed files
with
87 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
context.properties = { | ||
remote.name = "$instance_name" | ||
} | ||
|
||
context.modules = [ | ||
{ name = libpipewire-module-protocol-native } | ||
{ name = libpipewire-module-client-node } | ||
{ name = libpipewire-module-client-device } | ||
{ name = libpipewire-module-adapter } | ||
{ name = libpipewire-module-metadata } | ||
|
||
{ name = libpipewire-module-session-manager } | ||
] | ||
|
||
session.modules = { | ||
default = [ | ||
flatpak # manages flatpak access | ||
portal # manage portal permissions | ||
suspend-node # suspend inactive nodes | ||
policy-node # configure and link nodes | ||
metadata # export metadata API | ||
streams-follow-default # move streams when default changes | ||
] | ||
} |