mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #347] [MERGED] Add Pulse Audio Router to ensure correct sink is selected #420
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/347
Author: @camelcx
Created: 2/4/2026
Status: ✅ Merged
Merged: 2/7/2026
Merged by: @ABeltramo
Base:
stable← Head:stable📝 Commits (10+)
ef8cb37Add hostname field to Container struct1433504Add hostname extraction from JSON objectacb8adcAdd DockerContainerCreated and DockerContainerStopped events51690bcEmit Docker container create and stop event8d1288aAdd PulseAudioRouter class for audio routingab5faccImplement PulseAudioRouter for audio routing7f8a636Integrate PulseAudio router in wolf.cpp7388229Remove unnecessary code from pulse_router.cpp24c23b8Add audio source files to CMake build17a8ae3Refactor event bus method calls in docker.cpp📊 Changes
14 files changed (+392 additions, -20 deletions)
View changed files
📝
src/core/src/core/audio.hpp(+7 -1)📝
src/core/src/core/docker.hpp(+2 -1)📝
src/core/src/platforms/all/docker/docker/json_formatters.hpp(+7 -1)📝
src/core/src/platforms/linux/pulseaudio/pulse.cpp(+5 -1)📝
src/moonlight-server/CMakeLists.txt(+2 -1)➕
src/moonlight-server/audio/pulse_router.cpp(+241 -0)➕
src/moonlight-server/audio/pulse_router.hpp(+60 -0)📝
src/moonlight-server/events/events.hpp(+22 -4)📝
src/moonlight-server/runners/docker.cpp(+23 -1)📝
src/moonlight-server/sessions/common.cpp(+3 -2)➕
src/moonlight-server/sessions/common.hpp(+6 -0)📝
src/moonlight-server/sessions/lobbies.cpp(+4 -3)📝
src/moonlight-server/sessions/moonlight.cpp(+5 -4)📝
src/moonlight-server/wolf.cpp(+5 -1)📄 Description
Implemented a pulse router to ensure correct sound input -> pulse sink routing. Some APPs ignore the $PULSE_SINK env and choose the wrong sink to output sound breaking multiuser isolation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.