Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound output doesn't switch to a newly selected audio device in Windows #32

Closed
DrXadium opened this issue Oct 4, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@DrXadium
Copy link

DrXadium commented Oct 4, 2023

Describe the bug

Daktilo does not redirect its sound output to the new default output device on windows if that is changed while the program is running.

(So if I switch to using my headphones for output, playback continues on the external speakers)

To reproduce

  1. Download daktilo-x86_64-pc-windows-msvc.zip for windows and run daktilo.exe
  2. Run Daktilo in Windows.
  3. Change the sound output from speakers to headphones.

Expected behavior

Sounds should start coming from my headphones, not remain coming from my speakers.

Software information

  • Operating system: Windows 11 Build 22H2
  • Rust version: n/a
  • Project version: 0.2.0
@DrXadium DrXadium added the bug Something isn't working label Oct 4, 2023
@orhun
Copy link
Owner

orhun commented Oct 6, 2023

Hello, thanks for reporting this! 🐻

Not sure if we can support auto-switching output devices on the fly but one thing we can do is support selecting the device for playback.

So in 6bd8269 I added this feature:

$ daktilo --list-devices
# lists the available devices

$ daktilo --device "sysdefault:CARD=Generic_1"
# plays the sound on the selected device

I hope this helps!

@orhun orhun closed this as completed Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants