diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c index 83b1a833708cad21efdea3802364d2edddcd26c5..33435694393e258d7373363599d7224dbaf76299 100644 --- a/bridges/bridge_softmix.c +++ b/bridges/bridge_softmix.c @@ -1404,7 +1404,7 @@ static int softmix_mixing_loop(struct ast_bridge *bridge) } #ifdef BINAURAL_RENDERING - check_binaural_position_change(bridge, softmix_data, bridge_channel); + check_binaural_position_change(bridge, softmix_data); #endif /* Go through pulling audio from each factory that has it available */ diff --git a/bridges/bridge_softmix/bridge_softmix_binaural.c b/bridges/bridge_softmix/bridge_softmix_binaural.c index 128e4640e6cd48d6ba501e94f849592451429e9a..2a8efd76623e6a4a73b01d443a1bd5e5352ea26c 100644 --- a/bridges/bridge_softmix/bridge_softmix_binaural.c +++ b/bridges/bridge_softmix/bridge_softmix_binaural.c @@ -465,9 +465,10 @@ void softmix_process_write_binaural_audio(struct softmix_channel *sc, } void check_binaural_position_change(struct ast_bridge *bridge, - struct softmix_bridge_data *softmix_data, struct ast_bridge_channel *bridge_channel) + struct softmix_bridge_data *softmix_data) { unsigned int pos_change; + struct ast_bridge_channel *bridge_channel; /* * We only check binaural things if binaural is activated by the config diff --git a/bridges/bridge_softmix/include/bridge_softmix_internal.h b/bridges/bridge_softmix/include/bridge_softmix_internal.h index 01e65aa1f8ef5508806320a5f235f4d173e7174c..f842acb5e1f4022c7ce5a82b072cb0c7481ff79e 100644 --- a/bridges/bridge_softmix/include/bridge_softmix_internal.h +++ b/bridges/bridge_softmix/include/bridge_softmix_internal.h @@ -377,10 +377,9 @@ void softmix_process_write_binaural_audio(struct softmix_channel *sc, * * \param bridge The conference bridge. * \param softmix_data The data used by the softmix bridge. - * \param bridge_channel The bridge channel. */ void check_binaural_position_change(struct ast_bridge *bridge, - struct softmix_bridge_data *softmix_data, struct ast_bridge_channel *bridge_channel); + struct softmix_bridge_data *softmix_data); /*! * \brief Processes audio data with the binaural synthesis and adds the result to the mixing array.