Closed edward-p closed 5 years ago
Now we don't need to create our own queue but using av_buffer
.
There is one more thing I’d like to get fixed. Currently the buffer size is unbounded. Buffering a few seconds of decoded audio should be enough. Since we’re working with frames, which all have a timestamp, this shoudn’t be too hard. Do you want to give it a shot? (I was thinking of reusing aoplay_cond for this purpose, but I’m not sure whether that’d introduce a race-condition/possible dead-lock situation).
Alright, I had a closer look and made a few stylistic changes. Aside from that it is good to go and I’ll merge it unless you have anything you want to add?
Sorry again for all the delays.
Nothing more to add. I'm ready to merge. Thanks!
Done. Thank you very much. Good job!
Thanks, I’ll review it on the weekend.