libretro / libretro/RetroArch

Retroarch Freezes Emulation When Changing Soundcard Output Source

Open
#13,260 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

audio bug: audio devices
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

While running Retroarch and using creative's 'Sound Blaster Command', switching the sound output setting between desktop speakers and headphones causes the program to freeze when emulation is running (or when emulation is started back up from the menus). I'm using a sound Blaster Z sound card if this helps.

Expected behavior

audio output should change between desktop speakers and headphones without crashing the program as in other applications.

Actual behavior

Retroarch freezes, ultimately needing to be closed and restarted. This happens across all cores. Double checked on Reicast and DeSmuMe before submitting, have encountered elsewhere.

Steps to reproduce the bug
  1. Launch Retroarch and start emulation
  2. Change input via the lower left selection in the 'Sound Blaster Command' (available for download on Creative's website, used to control their sound cards)
  3. Look at Retroarch window frozen. (if in a menu the menu will be fine to navigate, then freez returning to emulation)
Version/Commit

You can find this information under Information/System Information

  • RetroArch: 6388872a54
Environment information
  • OS: Windows 10 x64 Build 19043 (v10.0)
  • Compiler: [In case you are running local builds]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the freeze on Windows 10 with a Sound Blaster Z while emulation is running, using Creative's Sound Blaster Command to switch between speakers and headphones. Trace the RetroArch audio-output handling involved in that device change; done means switching output sources no longer freezes RetroArch during or after emulation.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.