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

Recreate ma_device on failure #4729

Merged
merged 3 commits into from
Jul 22, 2023

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Jul 22, 2023

Description

If the sound device is stopped by the OS, we used to restart it.
In certain cases, the start fails because the OS has invalidated the sound device. The solve for this, if the restart fails, we recreate the sound device.

Tested on Arch Linux using Pulseaudio, where it works as expected.

@pajlada pajlada marked this pull request as ready for review July 22, 2023 12:13
@pajlada pajlada enabled auto-merge (squash) July 22, 2023 12:13
@pajlada pajlada merged commit 5c8c05b into master Jul 22, 2023
15 of 16 checks passed
@pajlada pajlada deleted the fix/sound-start-failed-on-windows-log-out-and-log-in branch July 22, 2023 13:20
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.

1 participant