Calculate the delay and sync error modulo the output frame numbers. Duh! A long-standing bug.

This commit is contained in:
Mike Brady
2020-05-23 10:18:23 +01:00
parent 923a4f0a3c
commit 034dd53af5
2 changed files with 41 additions and 51 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ typedef struct {
void *dapo_private_storage; // this is used for compatibility, if dacp stuff isn't enabled.
int enable_dither; // needed for filling silences before play actually starts
int64_t dac_buffer_queue_minimum_length;
uint64_t dac_buffer_queue_minimum_length;
} rtsp_conn_info;
uint32_t modulo_32_offset(uint32_t from, uint32_t to);