mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-02-18 12:54:26 +01:00
Working RX with somewhat acceptable TX
We were able to fix the delay issue, there is still a bug in the TX where someof the data gets off sync and will cut out
This commit is contained in:
parent
f750b5ce06
commit
342120e9f5
|
|
@ -76,6 +76,7 @@ static pthread_t _read_thread;
|
|||
BOOL _readThreadAbort = FALSE;
|
||||
|
||||
static uint32 _buffering_target = 0;
|
||||
static uint32 _encode_buffering_target = 4;
|
||||
|
||||
static pthread_rwlock_t _encoded_list_lock;
|
||||
static BufferDescriptor _encoded_root;
|
||||
|
|
@ -141,7 +142,7 @@ static void _thumbDVEncodedList_LinkTail( BufferDescriptor buf_desc ) {
|
|||
_encoded_root->prev = buf_desc;
|
||||
_encoded_count++;
|
||||
|
||||
if ( _encoded_count > _buffering_target ) {
|
||||
if ( _encoded_count > _encode_buffering_target ) {
|
||||
if ( _encoded_buffering ) output( "Encoded Buffering is now FALSE\n" );
|
||||
|
||||
_encoded_buffering = FALSE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue