Re: [fluid-dev] Building in such a way as to suppress log messages?

2020-09-08 Thread James Thistlewood
Hi Tom, thanks for your detailed and helpful response. I know full well that log messages are there for a reason. My problem isn't just that I *want* to suppress log messages to stdout - it's that I *need *to (in release builds, at least). My programme uses curses, so if anything gets sent to std

Re: [fluid-dev] Building in such a way as to suppress log messages?

2020-09-08 Thread Tom M. via fluid-dev
The question should have been: "What's wrong in my client code that fluidsynth keeps complaining about?" Answer: fluidsynth was built with sdl2 support, therefore you should call SDL_Init(SDL_INIT_AUDIO) in your code. Otherwise, you cannot use the sdl2 audio driver, although fluidsynth provides th

Re: [fluid-dev] Building in such a way as to suppress log messages?

2020-09-08 Thread James Thistlewood
Ah, maybe I should have spent some more time looking through the code: /* People who want to reduce the size of the may do this by entirely * removing the logging system. This will cause all log messages to * be discarded at compile time, allowing to save about 80 KiB for * the compiled binary. */