| OLD | NEW |
| 1 Test Basic Functionality of copyFromChannel and AudioBuffer.copyToChannel | 1 Test Basic Functionality of copyFromChannel and AudioBuffer.copyToChannel |
| 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 AudioBuffer.prototype.copyFromChannel is defined. | 6 PASS AudioBuffer.prototype.copyFromChannel is defined. |
| 7 PASS buffer = context.createBuffer(3, 16, context.sampleRate) did not throw an e
xception. | 7 PASS buffer = context.createBuffer(3, 16, context.sampleRate) did not throw an e
xception. |
| 8 PASS buffer.copyFromChannel(null, 0) threw TypeError: Failed to execute 'copyFro
mChannel' on 'AudioBuffer': parameter 1 is not of type 'Float32Array'.. | 8 PASS buffer.copyFromChannel(null, 0) threw TypeError: Failed to execute 'copyFro
mChannel' on 'AudioBuffer': parameter 1 is not of type 'Float32Array'.. |
| 9 PASS buffer.copyFromChannel(context, 0) threw TypeError: Failed to execute 'copy
FromChannel' on 'AudioBuffer': parameter 1 is not of type 'Float32Array'.. | 9 PASS buffer.copyFromChannel(context, 0) threw TypeError: Failed to execute 'copy
FromChannel' on 'AudioBuffer': parameter 1 is not of type 'Float32Array'.. |
| 10 PASS buffer.copyFromChannel(x, -1) threw IndexSizeError: Failed to execute 'copy
FromChannel' on 'AudioBuffer': The channelNumber provided (-1) is outside the ra
nge [0, 2].. | 10 PASS buffer.copyFromChannel(x, -1) threw IndexSizeError: Failed to execute 'copy
FromChannel' on 'AudioBuffer': The channelNumber provided (-1) is outside the ra
nge [0, 2].. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 PASS buffer.copyToChannel(src10, 0) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. | 39 PASS buffer.copyToChannel(src10, 0) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. |
| 40 PASS buffer.copyToChannel(src10, 1) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. | 40 PASS buffer.copyToChannel(src10, 1) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. |
| 41 PASS buffer.copyToChannel(src10, 2) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. | 41 PASS buffer.copyToChannel(src10, 2) is identical to the array [1,2,3,4,5,6,7,8,9
,10,-1,-1,-1,-1,-1,-1]. |
| 42 PASS buffer.copyToChannel(src10, 0, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. | 42 PASS buffer.copyToChannel(src10, 0, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. |
| 43 PASS buffer.copyToChannel(src10, 1, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. | 43 PASS buffer.copyToChannel(src10, 1, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. |
| 44 PASS buffer.copyToChannel(src10, 2, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. | 44 PASS buffer.copyToChannel(src10, 2, 5) is identical to the array [-1,-1,-1,-1,-1
,1,2,3,4,5,6,7,8,9,10,-1]. |
| 45 PASS successfullyParsed is true | 45 PASS successfullyParsed is true |
| 46 | 46 |
| 47 TEST COMPLETE | 47 TEST COMPLETE |
| 48 | 48 |
| OLD | NEW |