From f97fa40dbe9c4a856f0ccc751fc8d1e264674d81 Mon Sep 17 00:00:00 2001 From: sergm Date: Thu, 27 Feb 2020 22:50:28 +0200 Subject: [PATCH] Fixed compilation of the library headers in C mode --- mt32emu/src/c_interface/c_interface.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mt32emu/src/c_interface/c_interface.h b/mt32emu/src/c_interface/c_interface.h index f341026..5cf0797 100644 --- a/mt32emu/src/c_interface/c_interface.h +++ b/mt32emu/src/c_interface/c_interface.h @@ -329,9 +329,11 @@ MT32EMU_EXPORT mt32emu_boolean mt32emu_is_mt32_reverb_compatibility_mode(mt32emu /** Returns whether default reverb compatibility mode is the old MT-32 compatibility mode. */ MT32EMU_EXPORT mt32emu_boolean mt32emu_is_default_reverb_mt32_compatible(mt32emu_const_context context); -// If enabled, reverb buffers for all modes are keept around allocated all the time to avoid memory -// allocating/freeing in the rendering thread, which may be required for realtime operation. -// Otherwise, reverb buffers that are not in use are deleted to save memory (the default behaviour). +/** + * If enabled, reverb buffers for all modes are keept around allocated all the time to avoid memory + * allocating/freeing in the rendering thread, which may be required for realtime operation. + * Otherwise, reverb buffers that are not in use are deleted to save memory (the default behaviour). + */ MT32EMU_EXPORT void mt32emu_preallocate_reverb_memory(mt32emu_const_context context, const mt32emu_boolean enabled); /** Sets new DAC input mode. See mt32emu_dac_input_mode for details. */