The International Simutrans Forum

 

Author Topic: Patch: coreaudio: stop playing midi when simutrans is closed  (Read 1080 times)

0 Members and 1 Guest are viewing this topic.

Offline ArthurDenture

  • Coder/patcher
  • *
  • Posts: 86
Patch: coreaudio: stop playing midi when simutrans is closed
« on: April 16, 2013, 03:54:14 AM »
Another tiny patch. If you're using the SDL backend (not SDL_mixer) on a mac, and you haven't turned off midi music, the current implementation continues to play the music after Simutrans quits. The attached patch fixes that.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: Patch: coreaudio: stop playing midi when simutrans is closed
« Reply #1 on: April 16, 2013, 10:58:11 AM »
Incorporated, that you!