mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
bridge_softmix.c: Restored softmix_bridge_leave() shortcut exit.
Change-Id: I13026cd90954e0265eab94a0faf635a3e11f0e35
This commit is contained in:
@@ -786,17 +786,17 @@ static void softmix_bridge_leave(struct ast_bridge *bridge, struct ast_bridge_ch
|
|||||||
{
|
{
|
||||||
struct softmix_channel *sc;
|
struct softmix_channel *sc;
|
||||||
struct softmix_bridge_data *softmix_data;
|
struct softmix_bridge_data *softmix_data;
|
||||||
|
|
||||||
softmix_data = bridge->tech_pvt;
|
softmix_data = bridge->tech_pvt;
|
||||||
sc = bridge_channel->tech_pvt;
|
sc = bridge_channel->tech_pvt;
|
||||||
|
if (!sc) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (bridge->softmix.video_mode.mode == AST_BRIDGE_VIDEO_MODE_SFU) {
|
if (bridge->softmix.video_mode.mode == AST_BRIDGE_VIDEO_MODE_SFU) {
|
||||||
sfu_topologies_on_leave(bridge_channel, &bridge->channels);
|
sfu_topologies_on_leave(bridge_channel, &bridge->channels);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!sc) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bridge->softmix.binaural_active) {
|
if (bridge->softmix.binaural_active) {
|
||||||
if (sc->binaural) {
|
if (sc->binaural) {
|
||||||
set_binaural_data_leave(&softmix_data->convolve, sc->binaural_pos,
|
set_binaural_data_leave(&softmix_data->convolve, sc->binaural_pos,
|
||||||
|
Reference in New Issue
Block a user