Audio playback gets stuck after changing system audio devices and requires restart
regression MS4crashawaiting reply from user
### Issue type
Crash or freeze
### Description with steps to reproduce
Note: Regression; I believe it had worked in all 4.* versions until 4.7.
Repro:
1. Create/open a MuseScore project.
2. Change your system audio configuration, e.g., simply connect Bluetooth headphones.
Expected:
- MuseScore keeps playing audio – it may switch to the newly connected device or continue using the other one, but it should send audio to some available output device. Also, when you go to MuseScore's audio settings, you can select the audio device to use. And it actually worked this way in 4.6 and all the earlier builds.
Actual:
- MuseScore stops producing any sound, and playback just gets stuck (the playhead doesn't even move anymore when you click "Play"). In the audio settings, the dropdown correctly shows all the available audio devices, but none of them can be selected. So, effectively, there is nothing you can do except close and relaunch the app.
### Supporting files, videos and screenshots
https://github.com/user-attachments/assets/3f107de1-5ca0-46d1-afaf-777d0bca5c7f
### In which versions of MuseScore Studio is this issue present?
MuseScore Studio version (64-bit): 4.7.3-260608135, revision: github-musescore-musescore-cf9860c
### Regression
Yes, this used to work in a previous version of MuseScore 4.x
### Operating system
macOS Tahoe (26.5.2)
### Additional context
_No response_
### Checklist
- [x] This report follows the [guidelines](https://github.com/musescore/MuseScore/wiki/Reporting-bugs-and-issues) for reporting bugs and issues
- [x] I have verified that this issue has not been logged before, by searching the [issue tracker](https://github.com/musescore/MuseScore/issues) for similar issues
- [x] I have attached all requested files and information to this report
- [x] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
10 条评论