Revision 4136f032 core.h

View differences:

core.h
80 80
  return i & p->buf_mask;
81 81
}
82 82

  
83
// the chunk is not in buffer if the playout delay elapsed.
84
// the playout delay is represented by buf_size.
83 85
static inline int in_buffer(struct peer *p, int i, int t)
84 86
{
85 87
  return p->chunks[win_idx(p, i)]->chunk > t - p->buf_size;

Also available in: Unified diff