[PR #3355] [MERGED] options: choose the audio output device in Music & Sounds (#1035) #4927

Closed
opened 2026-11-03 05:08:58 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3355
Author: @Sticky-Bug
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: feat/audio-output-device


📝 Commits (5)

  • 48e7314 options: choose the audio output device in Music & Sounds (#1035)
  • 4a2a5b9 Merge main into this branch after the render crate split (#3186)
  • f44042e Sound device: vanilla's own option names, and a missing device asks once
  • 8fdbad2 Merge origin/main into feat/audio-output-device
  • b732e58 Merge main into feat/audio-output-device: keep soundDevice beside main's new option keys

📊 Changes

4 files changed (+165 additions, -7 deletions)

View changed files

📝 crates/horizon-client-render/src/audio.rs (+91 -5)
📝 crates/horizon-client-render/src/options_ui.rs (+52 -0)
📝 crates/horizon-client-render/src/settings.rs (+17 -0)
📝 crates/horizon-client/src/game.rs (+5 -2)

📄 Description

Adds audio output device selection matching vanilla options.txt format:

  • Bind soundDevice option in Settings with serialization roundtrip
  • Enumerate output devices and support live stream switching in Audio
  • Add SoundDevice option button to Music & Sounds page cycling devices
  • Apply audio device changes dynamically on options save and startup
  • Unit tests for settings parsing and options UI button cycling

What and why

Vanilla reference

Self-check

Screenshots


🔄 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/horizon-rust/horizon/pull/3355 **Author:** [@Sticky-Bug](https://github.com/Sticky-Bug) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `feat/audio-output-device` --- ### 📝 Commits (5) - [`48e7314`](https://github.com/horizon-rust/horizon/commit/48e731483a9762a1c44b0bf51a50dfd5ed76d4fe) options: choose the audio output device in Music & Sounds (#1035) - [`4a2a5b9`](https://github.com/horizon-rust/horizon/commit/4a2a5b997754c8e86a0539e26b0b407c00e48239) Merge main into this branch after the render crate split (#3186) - [`f44042e`](https://github.com/horizon-rust/horizon/commit/f44042e0eb3fbcca3a1a9d5b79c08e63faf27a59) Sound device: vanilla's own option names, and a missing device asks once - [`8fdbad2`](https://github.com/horizon-rust/horizon/commit/8fdbad2d4b01ddbf99c603f5ff2b4088caccd0d3) Merge origin/main into feat/audio-output-device - [`b732e58`](https://github.com/horizon-rust/horizon/commit/b732e582b935abee5c9e0e7e09e205ea687827e5) Merge main into feat/audio-output-device: keep soundDevice beside main's new option keys ### 📊 Changes **4 files changed** (+165 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/audio.rs` (+91 -5) 📝 `crates/horizon-client-render/src/options_ui.rs` (+52 -0) 📝 `crates/horizon-client-render/src/settings.rs` (+17 -0) 📝 `crates/horizon-client/src/game.rs` (+5 -2) </details> ### 📄 Description Adds audio output device selection matching vanilla options.txt format: - Bind soundDevice option in Settings with serialization roundtrip - Enumerate output devices and support live stream switching in Audio - Add SoundDevice option button to Music & Sounds page cycling devices - Apply audio device changes dynamically on options save and startup - Unit tests for settings parsing and options UI button cycling ## What and why <!-- What this changes, and why. Link the issue it fixes ("Fixes #123"). --> ## Vanilla reference <!-- The vanilla classes and methods this follows (tools/rea_vanilla.py), and the harness that checks it. "Horizon-only" for a feature vanilla doesn't have; "none" for tooling or docs. --> ## Self-check <!-- Paste the block `python3 tools/pr_ready.py` prints (`--base upstream/main` from a fork). --> ## Screenshots <!-- For anything players see: before and after. Delete this section otherwise. --> <!-- Please tick "Allow edits by maintainers": we push small fixups ourselves instead of a round trip. See CONTRIBUTING.md. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:08:58 +07:00
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
horizon-rust/horizon#4927
No description provided.