WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
168644
Pulling more frames from AudioSampleDataSource than the last push added will always fail.
https://bugs.webkit.org/show_bug.cgi?id=168644
Summary
Pulling more frames from AudioSampleDataSource than the last push added will ...
Jer Noble
Reported
2017-02-21 00:12:07 PST
Pulling more frames from AudioSampleDataSource than the last push added will always fail.
Attachments
Patch
(4.03 KB, patch)
2017-02-21 00:16 PST
,
Jer Noble
eric.carlson
: review+
Details
Formatted Diff
Diff
Patch for landing
(4.02 KB, patch)
2017-03-14 10:27 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2017-02-21 00:16:23 PST
Created
attachment 302239
[details]
Patch
Eric Carlson
Comment 2
2017-03-14 10:15:32 PDT
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.
Jer Noble
Comment 3
2017-03-14 10:27:02 PDT
Created
attachment 304392
[details]
Patch for landing
Jer Noble
Comment 4
2017-03-14 12:57:20 PDT
Committed
r213931
: <
http://trac.webkit.org/changeset/213931
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug