OLD | NEW |
1 Test AudioBuffer.getChannelData() Returns the Same Object | 1 Test AudioBuffer.getChannelData() Returns the Same Object |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS a = buffer.getChannelData(0) | 6 PASS a = buffer.getChannelData(0) |
7 PASS b = buffer.getChannelData(0) | 7 PASS b = buffer.getChannelData(0) |
8 PASS a === b is true | 8 PASS a === b is true |
9 PASS a = buffer.getChannelData(1) | 9 PASS a = buffer.getChannelData(1) |
10 PASS b = buffer.getChannelData(1) | 10 PASS b = buffer.getChannelData(1) |
11 PASS a === b is true | 11 PASS a === b is true |
12 PASS getChannelData correctly returned the same buffer. | 12 PASS getChannelData correctly returned the same buffer. |
13 | 13 |
14 PASS a = buffer1.getChannelData(0) | 14 PASS a = buffer1.getChannelData(0) |
15 PASS b = buffer2.getChannelData(0) | 15 PASS b = buffer2.getChannelData(0) |
16 PASS a === b is false | 16 PASS a === b is false |
17 PASS a = buffer1.getChannelData(1) | 17 PASS a = buffer1.getChannelData(1) |
18 PASS b = buffer2.getChannelData(1) | 18 PASS b = buffer2.getChannelData(1) |
19 PASS a === b is false | 19 PASS a === b is false |
20 PASS getChannelData correctly returned different buffers. | 20 PASS getChannelData correctly returned different buffers. |
21 | 21 |
22 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
23 | 23 |
24 TEST COMPLETE | 24 TEST COMPLETE |
25 | 25 |
OLD | NEW |