Changed Audio device don't apply until after program restart
Description:
When changing audio device e.g. from "Speakers in MacBook pro" to "BlackHole 16ch" the new settings don't take hold until after musescore is restarted, even if you press Apply.
Steps to reproduce:
1. open musescore
2. navitate to Musescore settings > I/O
3. choose an output device e.g. headphones and confirm by pressing "ok"
4. restart musescore - you should now be in a known state.
5. RE-open musescore to a new score.
6. add at least one instrument
7. add at least one note
8. play back note to confirm sound is in headphones (or whatever output device was selected)
9. Re-navitate to Musescore settings > I/O
10. choose a different output device e.g. external speakers and press apply.
11. close settings by pressing ok
12. play back note - it still plays in headphones.
expected behaviour
I believe the expected behaviour would be that the audio settings take hold and the notes start playing through the newly selected audio device after apply is pressed.
as is, a workaround is to restart musescore completely.
More of a suggestion: why have an apply button instead of just an ok button which applies automatically
OS:
macOS 10.15, Arch.: x86_64, MuseScore version (64-bit): 3.6.1.515739048, revision: d0fc8e9
Attachment | Size |
---|---|
Skærmbillede 2021-02-10 kl. 15.48.59.png | 353.64 KB |
Comments
another workaround is to toggle (off and on again) the MIDI button in the toolbar (looking like a 5-pin DIN connector) or Edit > Preferences > I/O > Restart MIDI and Audo devices (which does the same thing
Did you click the "restart audio and MIDI devices" button? That should do it. Apply is not really relevant, as you say, OK does the Apply as well, it just closes the dialog also (the standard behavior of these buttons).
see #277835: Allow Bluetooth-, other Sound- and MIDI-devices to be turned on after MuseScore loads