@@ -170,6 +170,16 @@ static const fluid_audriver_definition_t fluid_audio_drivers[] =
170170 },
171171#endif
172172
173+ #if KAI_SUPPORT
174+ {
175+ "kai" ,
176+ new_fluid_kai_audio_driver ,
177+ NULL ,
178+ delete_fluid_kai_audio_driver ,
179+ fluid_kai_audio_driver_settings
180+ },
181+ #endif
182+
173183#if DART_SUPPORT
174184 {
175185 "dart" ,
@@ -180,6 +190,16 @@ static const fluid_audriver_definition_t fluid_audio_drivers[] =
180190 },
181191#endif
182192
193+ #if SDL3_SUPPORT
194+ {
195+ "sdl3" ,
196+ new_fluid_sdl3_audio_driver ,
197+ NULL ,
198+ delete_fluid_sdl3_audio_driver ,
199+ fluid_sdl3_audio_driver_settings
200+ },
201+ #endif
202+
183203#if SDL2_SUPPORT
184204 {
185205 "sdl2" ,
@@ -220,7 +240,7 @@ void fluid_audio_driver_settings(fluid_settings_t *settings)
220240 fluid_settings_add_option (settings , "audio.sample-format" , "16bits" );
221241 fluid_settings_add_option (settings , "audio.sample-format" , "float" );
222242
223- #if defined(WIN32 )
243+ #if defined(_WIN32 )
224244 fluid_settings_register_int (settings , "audio.period-size" , 512 , 64 , 8192 , 0 );
225245 fluid_settings_register_int (settings , "audio.periods" , 8 , 2 , 64 , 0 );
226246#elif defined(MACOS9 )
@@ -446,7 +466,7 @@ delete_fluid_audio_driver(fluid_audio_driver_t *driver)
446466 *
447467 * @warning This function may only be called if no thread is residing in fluidsynth's API and no instances of any kind
448468 * are alive (e.g. as it would be the case right after fluidsynth's initial creation). Else the behaviour is undefined.
449- * Furtermore any attempt of using audio drivers that have not been registered is undefined behaviour!
469+ * Furthermore any attempt of using audio drivers that have not been registered is undefined behaviour!
450470 *
451471 * @note This function is not thread safe and will never be!
452472 *
0 commit comments