mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Resolves issue with audio playback where a call starts but not enough
audio samples are produced to cause the audio channel to start playback (doesn't exceed threshold), causing the audio channel to become locked until there was new audio from the same talkgroup.
This commit is contained in:
@@ -275,7 +275,7 @@ public class AudioManager implements Listener<AudioPacket>, IAudioController
|
||||
|
||||
private AudioOutput mAudioOutput;
|
||||
private int mPriority;
|
||||
private long mAudioStoppedTime = Long.MAX_VALUE;
|
||||
private long mAudioStoppedTime = System.currentTimeMillis();
|
||||
|
||||
public AudioChannelAssignment( AudioOutput audioOutput, int priority )
|
||||
{
|
||||
@@ -318,8 +318,6 @@ public class AudioManager implements Listener<AudioPacket>, IAudioController
|
||||
switch( event.getType() )
|
||||
{
|
||||
case AUDIO_STARTED:
|
||||
mAudioStoppedTime = Long.MAX_VALUE;
|
||||
break;
|
||||
case AUDIO_STOPPED:
|
||||
mAudioStoppedTime = System.currentTimeMillis();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user