diff --git a/src/drivers/fluid_adriver.c b/src/drivers/fluid_adriver.c index 9e8898af..a704fa08 100644 --- a/src/drivers/fluid_adriver.c +++ b/src/drivers/fluid_adriver.c @@ -70,6 +70,16 @@ static const fluid_audriver_definition_t fluid_audio_drivers[] = }, #endif +#if PIPEWIRE_SUPPORT + { + "pipewire", + new_fluid_pipewire_audio_driver, + new_fluid_pipewire_audio_driver2, + delete_fluid_pipewire_audio_driver, + fluid_pipewire_audio_driver_settings + }, +#endif + #if OSS_SUPPORT { "oss", diff --git a/src/drivers/fluid_adriver.h b/src/drivers/fluid_adriver.h index 9b214d58..8720fbfc 100644 --- a/src/drivers/fluid_adriver.h +++ b/src/drivers/fluid_adriver.h @@ -138,6 +138,14 @@ void fluid_jack_audio_driver_settings(fluid_settings_t *settings); int fluid_jack_obtain_synth(fluid_settings_t *settings, fluid_synth_t **synth); #endif +#if PIPEWIRE_SUPPORT +fluid_audio_driver_t *new_fluid_pipewire_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth); +fluid_audio_driver_t *new_fluid_pipewire_audio_driver2(fluid_settings_t *settings, + fluid_audio_func_t func, void *data); +void delete_fluid_pipewire_audio_driver(fluid_audio_driver_t *p); +void fluid_pipewire_audio_driver_settings(fluid_settings_t *settings); +#endif + #if SNDMAN_SUPPORT fluid_audio_driver_t *new_fluid_sndmgr_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth);