mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Updates all reusable buffer queues to automatically set the user count
to 1 on all provided buffers by default.
This commit is contained in:
@@ -162,7 +162,6 @@ public class P25AudioModule extends Module implements Listener<Message>, IAudioP
|
||||
ReusableAudioPacket audioPacket = mAudioPacketQueue.getBuffer(audio.length);
|
||||
audioPacket.setMetadata(mMetadata.copyOf());
|
||||
audioPacket.loadAudioFrom(audio);
|
||||
audioPacket.incrementUserCount();
|
||||
|
||||
mAudioPacketListener.receive(audioPacket);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user