[PR #1482] [MERGED] fix(volume): default sink/source incorrectly switching #8424

Closed
opened 2026-05-23 02:57:32 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1482
Author: @JakeStanger
Created: 5/9/2026
Status: Merged
Merged: 5/9/2026
Merged by: @JakeStanger

Base: masterHead: fix/volume-defaults


📝 Commits (1)

  • 5ef0d39 fix(volume): default sink/source incorrectly switching

📊 Changes

6 files changed (+85 additions, -107 deletions)

View changed files

📝 src/clients/volume/mod.rs (+11 -29)
📝 src/clients/volume/sink.rs (+7 -18)
📝 src/clients/volume/sink_input.rs (+1 -12)
📝 src/clients/volume/source.rs (+6 -18)
📝 src/clients/volume/source_output.rs (+1 -12)
📝 src/modules/volume/mod.rs (+59 -18)

📄 Description

The default sink and source were incorrectly tracked before, relying on their status. This did not always line up with the actual default, as there can be more than one running device at a time.

This replaces the old system with one that tracks the default directly from the server, rather than per-object.


🔄 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/JakeStanger/ironbar/pull/1482 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 5/9/2026 **Status:** ✅ Merged **Merged:** 5/9/2026 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `fix/volume-defaults` --- ### 📝 Commits (1) - [`5ef0d39`](https://github.com/JakeStanger/ironbar/commit/5ef0d39dca9abaf63b7c4c28bc99377aa5643457) fix(volume): default sink/source incorrectly switching ### 📊 Changes **6 files changed** (+85 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `src/clients/volume/mod.rs` (+11 -29) 📝 `src/clients/volume/sink.rs` (+7 -18) 📝 `src/clients/volume/sink_input.rs` (+1 -12) 📝 `src/clients/volume/source.rs` (+6 -18) 📝 `src/clients/volume/source_output.rs` (+1 -12) 📝 `src/modules/volume/mod.rs` (+59 -18) </details> ### 📄 Description The default sink and source were incorrectly tracked before, relying on their status. This did not always line up with the actual default, as there can be more than one running device at a time. This replaces the old system with one that tracks the default directly from the server, rather than per-object. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 02:57:32 +01: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
JakeStanger/ironbar#8424
No description provided.