Fixed small issue where group audio would jumble up sometimes at start of stream.

This commit is contained in:
irungentoo 2014-11-20 18:05:52 -05:00
parent 3a6d93f067
commit 1ef2092bcc
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -90,7 +90,7 @@ static int queue(Group_JitterBuffer *q, Group_Audio_Packet *pk)
if ((uint32_t)(sequnum - q->bottom) > q->size) {
clear_queue(q);
q->bottom = sequnum;
q->bottom = sequnum - q->capacity;
q->queue[num] = pk;
q->top = sequnum + 1;
return 0;