mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 18:47:33 -05:00
Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -170,7 +170,16 @@ public class AudioChannel implements Listener<IdentifierUpdateNotification>
|
|||||||
{
|
{
|
||||||
if(mAudioBuffer.isFull())
|
if(mAudioBuffer.isFull())
|
||||||
{
|
{
|
||||||
return mAudioBuffer.get();
|
float[] audio = mAudioBuffer.get();
|
||||||
|
|
||||||
|
if(isMuted())
|
||||||
|
{
|
||||||
|
return new float[SAMPLES_PER_INTERVAL];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return audio;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mCurrentAudioSegment == null)
|
if(mCurrentAudioSegment == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user