mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
filtet-chain: fix compilation without sofa
This commit is contained in:
parent
a5d15ff16a
commit
05048a2d9d
1 changed files with 4 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ error:
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBMYSOFA
|
||||
static int
|
||||
do_switch(struct spa_loop *loop, bool async, uint32_t seq, const void *data,
|
||||
size_t size, void *user_data)
|
||||
|
|
@ -208,6 +209,7 @@ do_free(struct spa_loop *loop, bool async, uint32_t seq, const void *data,
|
|||
convolver_free(fd->item[1]);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void spatializer_run(void * Instance, unsigned long SampleCount)
|
||||
{
|
||||
|
|
@ -275,8 +277,10 @@ static void spatializer_cleanup(void * Instance)
|
|||
|
||||
static void spatializer_control_changed(void * Instance)
|
||||
{
|
||||
#ifdef HAVE_LIBMYSOFA
|
||||
pw_log_info("control changed");
|
||||
spatializer_reload(Instance);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void spatializer_deactivate(void * Instance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue