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

Ruffle discards all audio after unplugging audio device #19306

Closed
sodscg opened this issue Jan 22, 2025 · 4 comments
Closed

Ruffle discards all audio after unplugging audio device #19306

sodscg opened this issue Jan 22, 2025 · 4 comments
Labels
A-desktop Area: Desktop Application bug Something isn't working

Comments

@sodscg
Copy link

sodscg commented Jan 22, 2025

Describe the bug

I was playing a few games and unplugged my headphones to play the audio out loud, and it just stopped the audio entirely
ruffle didn't crash and the game didn't freeze
I tried to plug my headphones back in, but any audio still didn't return, my computer still detects the headphones just fine and other things switch to it
while ruffle seems incapable

I got this on the logs ERROR ruffle_frontend_utils::backends::audio: Audio stream error: The requested device is no longer available. For example, it has been unplugged.

Expected behavior

while the error is correct that the device was unplugged, it should at least try to play over the speakers and it shold also not ignore any future attempts to use the unplugged audio device once it has been plugged in again.

Content Location

n/a

Affected platform

Desktop app

Operating system

I'm having this issue on windows only.

Browser

No response

Additional information

I'm pretty sure ruffle could do this before, so this also might be a complete regression of that

@sodscg sodscg added the bug Something isn't working label Jan 22, 2025
@Lord-McSweeney Lord-McSweeney added the A-desktop Area: Desktop Application label Jan 22, 2025
@n0samu
Copy link
Member

n0samu commented Jan 22, 2025

Duplicate of #10704

@n0samu n0samu marked this as a duplicate of #10704 Jan 22, 2025
@n0samu n0samu closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
@sodscg
Copy link
Author

sodscg commented Jan 22, 2025

oh, I see.
It also looks like that issue had stalled a long time ago :(

@torokati44
Copy link
Member

Oh, I remember, Flash Plugin used to just crash many years ago on Windows when I unplugged my headphones... ☺️ So we're still doing a lot better than that! 😜

@n0samu
Copy link
Member

n0samu commented Jan 22, 2025

Strange, I never experienced that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-desktop Area: Desktop Application bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants