Skip to content

Add focused app volume hotkeys - #1801

Open
Alb11747 wants to merge 5 commits into
File-New-Project:devfrom
Alb11747:feature/focused-app-hotkeys
Open

Add focused app volume hotkeys#1801
Alb11747 wants to merge 5 commits into
File-New-Project:devfrom
Alb11747:feature/focused-app-hotkeys

Conversation

@Alb11747

@Alb11747 Alb11747 commented Mar 7, 2026

Copy link
Copy Markdown

Summary

  • add user-configurable hotkeys to raise, lower, or toggle mute for the focused app
  • expose the new shortcuts in EarTrumpet's shortcut settings
  • share foreground-app lookup with the Actions add-on instead of maintaining two implementations

Focused-app resolution

  • resolve regular Win32 and hosted ApplicationFrameWindow apps
  • target an active descendant audio app when exactly one distinct descendant owns an active session, which covers injected overlays
  • fall back to the actual foreground app when no active descendant exists or the result is ambiguous

Volume behavior

  • use a 2 percentage-point step in linear mode and a 0.5 dB step in logarithmic mode
  • clamp volume to the active mode's valid range and recover from non-finite session values
  • toggle mute consistently across every matching session for the focused app

Validation

  • Release builds pass for x64, x86, and ARM64

Scope

  • volume toast notifications are intentionally not included in this pull request

@CLAassistant

CLAassistant commented Mar 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Loukious

Copy link
Copy Markdown

You may want to add a mute/unmute foreground app while at it. I think that would be the most important feature for gamers.

@Alb11747
Alb11747 force-pushed the feature/focused-app-hotkeys branch from 59c89f4 to 6ab5176 Compare June 12, 2026 20:00
@Alb11747
Alb11747 force-pushed the feature/focused-app-hotkeys branch from de404a7 to d4139a8 Compare August 20, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants