#2356 Muted audio channel can leak audio (#2361)

Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
Denny Sheirer
2026-02-09 03:02:41 -05:00
committed by GitHub
parent 7f9dc86b23
commit a42592daa9

View File

@@ -170,7 +170,16 @@ public class AudioChannel implements Listener<IdentifierUpdateNotification>
{
if(mAudioBuffer.isFull())
{
return mAudioBuffer.get();
float[] audio = mAudioBuffer.get();
if(isMuted())
{
return new float[SAMPLES_PER_INTERVAL];
}
else
{
return audio;
}
}
if(mCurrentAudioSegment == null)