FS#6683 - DirectMusic hanging notes with hardware synths

Attached to Project: OpenTTD
Opened by Niels M H (nielsm) - Monday, 05 March 2018, 21:30 GMT
Type Patch
Category Core
Status New
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


When using the DirectMusic driver with an external (hardware) MIDI synth, sometimes when exiting the game it leaves hanging notes. Adding a short sleep after calling Stop seems to avoid this problem, likely by allowing DMusic to process its own messages.
This task depends upon