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 the support for it. If you still want to customize logging, like disabling certain log levels, you should use our API appropriately, by calling fluid_set_log_function() and set the function handler to NULL: http://www.fluidsynth.org/api/log_8h.html#a73045ac6812fb708625d1ea25e4e5224 That "hack" you've found in the source code is exactly that: A hack, whose only existing purpose is for experts who need to squeeze fluidsynth on a 128KiB embedded ROM. The purpose of these log messages is to point users to misusages in their own code. And it's really frustrating when the first thought that comes up is "How can I disable this and everything else??" P.S.: Making changes to fluidsynth's source code and adding this customized libfluidsynth.so build to your public repository while not providing the source code changes, is, technically, an LGPL license infringement. Pls, stop it! Tom _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev