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

Reopen default device if default is changed #13

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Predelnik
Copy link

After default device is changed in the system, the app will use new default.

Not sure which openal-soft version is good enough for this to work, seems to work well with current master.
Hopefully next release of openal will be sufficient.

@ilya-fedin
Copy link
Contributor

Isn't the version with support for this API supposed to do this transparently?

@Predelnik
Copy link
Author

You mean it would work automatically after updating the library? I'm not sure but feel free to check

@ilya-fedin
Copy link
Contributor

Yeah. If you want the fix to land sooner, you can do an implementation without using unreleased openal APIs, e.g. look how it's implemented in tdesktop since long time ago: https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/platform/win/audio_win.cpp

@Predelnik
Copy link
Author

Ok, unfortunately, for me, the issue is not high priority for now. Bit I might look into it.

@john-preston
Copy link
Contributor

This will work differently soon, with native implementations for Windows / macOS. A fallback implementation on Linux using OpenAL APIs would be nice, I guess. I'll share some details soon.

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