coelckers / prboom-plus

This is a cleaned up copy of the PrBoom+ SVN repository as a courtesy for those interested in forking that port
295 stars 118 forks source link

PortMidi: Optimize reset messages #572

Closed ceski-1 closed 1 year ago

ceski-1 commented 1 year ago

This reduces the amount of messages sent during a reset, similar to Chocolate, Woof, etc. This also fixes a regression where wads with mid-level music changes were causing the game to pause briefly (https://github.com/coelckers/prboom-plus/files/7654830/MusChange.zip). Ideally, music should be handled on a separate thread, but this is a simple solution for now.