The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ACarlotti on March 24, 2018, 03:56:07 AM

Title: Patch: Use logger to output messages during sound loading/initialisation
Post by: ACarlotti on March 24, 2018, 03:56:07 AM
At the moment, sdl_[mixer_]sound.cc use printfs, despite the logger being intended to replace this, resulting in the anomaly of messages about loading sounds forming the majority of stdout with default logging. The patch replaces these printfs with calls to the logger.

I have tested this on Extended but not on Standard; however, I believe this code in Extended was identical to Standard. This is commit b3acce73 in Extended (though not yet incorporated by James).
Title: Re: Patch: Use logger to output messages during sound loading/initialisation
Post by: Dwachs on March 24, 2018, 08:54:53 AM
thank you! incorporated in r8412