| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/testharness.js"></script> | 4 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | 5 <script src="../../resources/testharnessreport.js"></script> |
| 6 <script src="../resources/compatibility.js"></script> | |
| 7 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 8 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 9 <script src="../resources/realtimeanalyser-testing.js"></script> | 8 <script src="../resources/realtimeanalyser-testing.js"></script> |
| 10 <script src="../resources/fft.js"></script> | 9 <script src="../resources/fft.js"></script> |
| 11 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo
thing</title> | 10 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo
thing</title> |
| 12 </head> | 11 </head> |
| 13 | 12 |
| 14 <body> | 13 <body> |
| 15 <script> | 14 <script> |
| 16 // Use a power of two to eliminate any round-off in the computation of the
times for | 15 // Use a power of two to eliminate any round-off in the computation of the
times for |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr
eqData) | 198 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr
eqData) |
| 200 .beCloseToArray(expectedByteData, 0) && basicTestsPassed; | 199 .beCloseToArray(expectedByteData, 0) && basicTestsPassed; |
| 201 | 200 |
| 202 }).then(context.resume.bind(context)); | 201 }).then(context.resume.bind(context)); |
| 203 | 202 |
| 204 return context.startRendering(); | 203 return context.startRendering(); |
| 205 } | 204 } |
| 206 </script> | 205 </script> |
| 207 </body> | 206 </body> |
| 208 </html> | 207 </html> |
| OLD | NEW |