diff --git a/sflphone-common/src/audio/alsa/alsalayer.cpp b/sflphone-common/src/audio/alsa/alsalayer.cpp index 4c0996942cc23e427707316318d431c9db998fa3..bd6dd2f2898f8b9a72e0278734a84be1072c73bc 100644 --- a/sflphone-common/src/audio/alsa/alsalayer.cpp +++ b/sflphone-common/src/audio/alsa/alsalayer.cpp @@ -950,7 +950,7 @@ void AlsaLayer::audioCallback (void) } else { - if ((!tone) && (!file_tone && (getIndexOut() != getIndexRing()))) { + if (!tone && !file_tone) { SFLDataFormat* zeros = (SFLDataFormat*) malloc (framesPerBufferAlsa * sizeof (SFLDataFormat));