Skip to content

Add hook-based external volume controller#181

Merged
maximmaxim345 merged 3 commits intoSendspin:mainfrom
balloob-travel:codex/hook-volume-controller
Mar 12, 2026
Merged

Add hook-based external volume controller#181
maximmaxim345 merged 3 commits intoSendspin:mainfrom
balloob-travel:codex/hook-volume-controller

Conversation

@balloob-travel
Copy link
Contributor

@balloob-travel balloob-travel commented Mar 11, 2026

Summary

  • add a hook-based external volume backend that persists logical volume/mute state
  • pass volume controllers into AudioStreamHandler via a protocol instead of selecting implementations there
  • wire --hook-set-volume through CLI/settings and document the new behavior

Fixes #126

Testing

  • uv run ruff check sendspin/audio_connector.py tests/test_audio_connector.py
  • uv run pytest tests/test_audio_connector.py tests/test_hook_volume.py tests/test_hardware_volume.py

@maximmaxim345 maximmaxim345 merged commit 0033e28 into Sendspin:main Mar 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add command for external volume management

3 participants