mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
test for bug 937475
--HG-- extra : transplant_source : %BC%9F%D3%7FB%A2%93%F45%0E%A7%FD%BCXK%7D%D6I%29%8C
This commit is contained in:
parent
91d1b9d3c6
commit
7b0cbc2530
@ -280,6 +280,8 @@ function checkResampledBuffer(buffer, test, callback) {
|
||||
var resampled = cx.createBufferSource();
|
||||
resampled.buffer = buffer;
|
||||
resampled.start();
|
||||
// This stop should do nothing, but it tests for bug 937475
|
||||
resampled.stop(test.frames / cx.sampleRate);
|
||||
resampled.connect(cx.destination);
|
||||
cx.oncomplete = function(e) {
|
||||
ok(!bufferIsSilent(e.renderedBuffer), "Expect buffer not silent");
|
||||
|
Loading…
Reference in New Issue
Block a user