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