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]);
}
/* 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.