mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-10 23:57:25 -05:00
1db6779decefff9f4bbded99003fe4b63eae6ae7
while the buffer processor thread is running. Added check for 0 space available in data line buffers to avoid trying to write a zero-length audio chunk to the data line. Added thread sleep for 100 milliseconds when we detect that the data line buffer is full, to allow time for the data line to drain before we check it again. Hopefully this should minimize the chattering during playback when the code was repeatedly hitting the available() method to check for space availability.
sdrtrunk
A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR).
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-67489234-1', 'auto'); ga('send', 'pageview'); </script>