DescriptionUpdate the current frame count in a safe place
The main thread needs access to the current sample frame to determine
the sample time. Instead of accessing it directly when the audio
thread is possibly updating it, the main thread will get a cached
value that is updated outside of when the audio thread actively
processing the graph.
No tests for this because the webaudio layout tests may not have real
audio hardware to run a real online realtime audio context. Manually ran the test from the bug report and the test passes.
BUG=431874
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186544
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update names according to review #Patch Set 3 : Modify test to allow 1 block delay. #
Messages
Total messages: 21 (6 generated)
|