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

v1 Audio default device changed notification - attempt to resolve #61 #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MadShadow-
Copy link

Implements the AudioDeviceChangedListener class for the win api. When the user now changes the default audio endpoint (headphones to speakers) the game will also switch to that desired output.

Implements the AudioDeviceChangedListener class for the win32 api. When the user now changes the default audio endpoint (headphones to speakers) the game will also switch to that desired output.
@MadShadow-
Copy link
Author

One thing I didn't really take into account is how people use their audio devices. alcReopenDeviceSOFT(dev, nullptr, nullptr); will always route the output to the current default device, when a change is detected. This might not be the desired behaviour. However, I don't think the original gothic had a selection for audio endpoints.

Try added a commit that referenced this pull request May 12, 2024
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.

None yet

1 participant