diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c index 09218ce99650c664f405590d1d63a2274518334a..36d82a53c50af86b0506de9912aa393323e98498 100644 --- a/bridges/bridge_softmix.c +++ b/bridges/bridge_softmix.c @@ -207,9 +207,8 @@ static void softmix_process_write_audio(struct softmix_translate_helper *trans_h struct softmix_translate_helper_entry *entry = NULL; int i; - /* If we provided audio that was not determined to be silence, - * then take it out while in slinear format. */ - if (sc->have_audio && sc->talking && !sc->binaural) { + /* If we provided any audio then take it out while in slinear format. */ + if (sc->have_audio && !sc->binaural) { for (i = 0; i < sc->write_frame.samples; i++) { ast_slinear_saturated_subtract(&sc->final_buf[i], &sc->our_buf[i]); } @@ -224,7 +223,7 @@ static void softmix_process_write_audio(struct softmix_translate_helper *trans_h /* do not do any special write translate optimization if we had to make * a special mix for them to remove their own audio. */ return; - } else if (sc->have_audio && sc->talking && sc->binaural > 0) { + } else if (sc->have_audio && sc->binaural > 0) { /* * Binaural audio requires special saturated substract since we have two * audio signals per channel now.