Do not read avg_buffering from the player thread
On buffer underflow, the average buffering must be updated, but it is intended to be accessed only from the receiver thread. Make the player and the receiver thread communicate the underflow via a new field (ap->underflow).
R
Romain Vimont committed
0b8a5ca923bdd17bd551e9f5565979373ec319c4
Parent: e06acc1