mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #466] [MERGED] fix(api): keep start_audio_server when deserialising an App #483
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#483
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/466
Author: @WMP
Created: 7/25/2026
Status: ✅ Merged
Merged: 8/8/2026
Merged by: @ABeltramo
Base:
stable← Head:fix/api-apps-add-start-audio-server📝 Commits (1)
00e16b1fix(api): keep start_audio_server when deserialising an App📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
src/moonlight-server/events/reflectors.hpp(+1 -0)📄 Description
Reflector<events::App>::to()rebuilt theevents::Appwithoutstart_audio_server, so aggregate initialisation left itfalse. Every appcreated through
POST /api/v1/apps/addtherefore had its audio server disabled,no matter what the request said: the session came up with a virtual compositor
but no
virtual_sink_<session_id>, in-app streams fell back toauto_nullandMoonlight got silence.
from()in the same file copies the field, andconfigTOML.cppreads(
value_or(true)) and writes it, so apps defined inconfig.tomlbehavedcorrectly — which is why the API reported
falserather than omitting the key,and why this was easy to miss.
The
start_virtual_compositorline right above shows the intended shape; thisadds the matching assignment for the audio flag.
Details, reproduction and the user-visible symptoms are in #465.
Fixes #465
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.