Pulling more frames from AudioSampleDataSource than the last push added will always fail.
Created attachment 302239 [details] Patch
Comment on attachment 302239 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302239&action=review > Source/WebCore/ChangeLog:10 > + Rather than use the delta between the ring buffer's end time and the last pushed timestamp (or what is effectively the number of samples in the last push operation) to determine if there is enough buffered data to satisfy a pull operation, use the ring buffer's actual buffered duration. > + > + Then, instead of saving the last pushed timestamp, explicitly save the last push count, and use that data to inform how much to offset the output timestamps (or what is effectively how much to allow the source to pre-buffer). Nit: these lines should be wrapped.
Created attachment 304392 [details] Patch for landing
Committed r213931: <http://trac.webkit.org/changeset/213931>