OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test fftSize Changes Resetting AnalyserNode State </title> | 4 <title>Test fftSize Changes Resetting AnalyserNode State </title> |
5 <script src="../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../../resources/testharnessreport.js"></script> |
7 <script src="resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
8 <script src="resources/audio-testing.js"></script> | 8 <script src="../resources/audio-testing.js"></script> |
9 </head> | 9 </head> |
10 | 10 |
11 <body> | 11 <body> |
12 <script> | 12 <script> |
13 // Fairly arbitrary sample rate. | 13 // Fairly arbitrary sample rate. |
14 var sampleRate = 24000; | 14 var sampleRate = 24000; |
15 | 15 |
16 var audit = Audit.createTaskRunner(); | 16 var audit = Audit.createTaskRunner(); |
17 | 17 |
18 // Verify that setting the fftSize resets the memory for the FFT smoothing | 18 // Verify that setting the fftSize resets the memory for the FFT smoothing |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 }) | 124 }) |
125 .then(context.resume.bind(context)); | 125 .then(context.resume.bind(context)); |
126 | 126 |
127 return context.startRendering(); | 127 return context.startRendering(); |
128 } | 128 } |
129 | 129 |
130 audit.runTasks(); | 130 audit.runTasks(); |
131 </script> | 131 </script> |
132 </body> | 132 </body> |
133 </html> | 133 </html> |
OLD | NEW |