mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888271 - Make test_AudioBufferSourceNodeOffset.html fuzzier.
This commit is contained in:
parent
a375acc424
commit
4392f23f11
@ -31,7 +31,7 @@ addLoadEvent(function() {
|
||||
// The timing at which the audioprocess and ended listeners are called can
|
||||
// change, hence the fuzzy equal here.
|
||||
var errorRatio = samplesFromSource / (0.5 * context.sampleRate);
|
||||
ok(errorRatio > 0.95 && errorRatio < 1.05,
|
||||
ok(errorRatio > 0.70 && errorRatio < 1.3,
|
||||
"Correct number of samples received (expected: " +
|
||||
(0.5 * context.sampleRate) + ", actual: " + samplesFromSource + ").");
|
||||
SimpleTest.finish();
|
||||
|
Loading…
Reference in New Issue
Block a user