[PR #268] fix: Monitor and route audio streams to correct sink #265

Open
opened 2026-10-15 12:50:25 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/268
Author: @Pizmovc
Created: 11/20/2025
Status: 🔄 Open

Base: master ← Head: fix/pulseaudio-sink-routing


📝 Commits (2)

  • aac0546 fix: Monitor and route audio streams to correct sink
  • b4d3a71 fix: upgrade ubuntu image for bubble wrap builder

📊 Changes

3 files changed (+91 additions, -1 deletions)

View changed files

📝 apps/steam/build/Dockerfile (+1 -1)
➕ images/base/build/overlay/etc/cont-init.d/50-pulse-audio.sh (+20 -0)
➕ images/base/build/overlay/opt/gow/pulse-monitor.sh (+70 -0)

📄 Description

Some audio libraries (e.g., FMOD used by Dwarf Fortress) ignore the PULSE_SINK environment variable and connect to PulseAudio's server-side default sink instead of the session-specific sink. This causes no audio when streaming.

This commit adds a background monitoring script that automatically moves audio streams from the wrong sink to the correct session-specific sink.

Added files:

  • /etc/cont-init.d/50-pulse-audio.sh: Init script that starts monitoring
  • /opt/gow/pulse-monitor: Background monitoring script

Fixes audio issues with games that don't respect PULSE_SINK env var.


Created as a workaround for #269


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/268 **Author:** [@Pizmovc](https://github.com/Pizmovc) **Created:** 11/20/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/pulseaudio-sink-routing` --- ### 📝 Commits (2) - [`aac0546`](https://github.com/games-on-whales/gow/commit/aac054678316a51bb6d8bab3b55b545fe98173bf) fix: Monitor and route audio streams to correct sink - [`b4d3a71`](https://github.com/games-on-whales/gow/commit/b4d3a712dbdf4f9dd17ac57492a2f6ed13c77727) fix: upgrade ubuntu image for bubble wrap builder ### 📊 Changes **3 files changed** (+91 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/steam/build/Dockerfile` (+1 -1) ➕ `images/base/build/overlay/etc/cont-init.d/50-pulse-audio.sh` (+20 -0) ➕ `images/base/build/overlay/opt/gow/pulse-monitor.sh` (+70 -0) </details> ### 📄 Description Some audio libraries (e.g., FMOD used by Dwarf Fortress) ignore the PULSE_SINK environment variable and connect to PulseAudio's server-side default sink instead of the session-specific sink. This causes no audio when streaming. This commit adds a background monitoring script that automatically moves audio streams from the wrong sink to the correct session-specific sink. Added files: - /etc/cont-init.d/50-pulse-audio.sh: Init script that starts monitoring - /opt/gow/pulse-monitor: Background monitoring script Fixes audio issues with games that don't respect PULSE_SINK env var. --- Created as a workaround for [#269](https://github.com/games-on-whales/wolf/issues/269) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#265
No description provided.