opensles: simplify error handling
Instead of busy waiting and retrying, buffer packets and wait for the next pf_play() call to write them to the sound card. We now have 2 linked lists: - packets not accepted yet by Enqueue() - packets accepted by Enqueue(), not yet written to hardware, and waiting to be released in PlayedCallback()
Showing
Please register or sign in to comment