musescore / musescore/MuseScore

[MU4 Issue] Musescore doesn't switch audio outputs correctly

Open
#14,831 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
When the audio output is set to system default, if you plug in headphones while the program is running, the audio doesn't go to the headphones, and playback lags significantly, producing no sound (although the mixer lights up).

To Reproduce
Steps to reproduce the behavior:

  1. Open Musescore (no headphones)
  2. Playback works fine
  3. Plug in headphones
  4. Playback doesn't work very well, and there is no audio output through the headphones.

Expected behavior
The audio output should switch

Platform information

  • OS: Mac

Additional context
This used to work fine, but hasn't for a little while now.

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

No files, tests, or entry points are named. First reproduce on macOS with MuseScore's audio output set to system default, then trace the audio-output handling used when headphones are connected during playback. Done means playback switches to the headphones without lag or silence.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.