| 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 <title>Test Analyser.getByteTimeDomainData()</title> | 8 <title>Test Analyser.getByteTimeDomainData()</title> |
| 10 </head> | 9 </head> |
| 11 | 10 |
| 12 <body> | 11 <body> |
| 13 <script> | 12 <script> |
| 14 var sampleRate = 48000; | 13 var sampleRate = 48000; |
| 15 // The size of the analyser frame. Anything larger than 128 is ok, but sh
ould be long enough | 14 // The size of the analyser frame. Anything larger than 128 is ok, but sh
ould be long enough |
| 16 // to capture the peaks of the oscillator waveform. | 15 // to capture the peaks of the oscillator waveform. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 }); | 91 }); |
| 93 | 92 |
| 94 audit.defineTask("finish", function (done) { | 93 audit.defineTask("finish", function (done) { |
| 95 done(); | 94 done(); |
| 96 }); | 95 }); |
| 97 | 96 |
| 98 audit.runTasks(); | 97 audit.runTasks(); |
| 99 </script> | 98 </script> |
| 100 </body> | 99 </body> |
| 101 </html> | 100 </html> |
| OLD | NEW |