OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- | 3 <!-- |
4 This is a very basic test to make sure testRunner.setAudioData() works correctly
. | 4 This is a very basic test to make sure testRunner.setAudioData() works correctly
. |
5 It generates a 2 seconds long stereo result @44.1KHz | 5 It generates a 2 seconds long stereo result @44.1KHz |
6 The left channel will be a 880Hz tone, while the right will be 440Hz. | 6 The left channel will be a 880Hz tone, while the right will be 440Hz. |
7 --> | 7 --> |
8 | 8 |
9 <html> | 9 <html> |
10 <head> | 10 <head> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 var audioData = createAudioData(audioBuffer); | 47 var audioData = createAudioData(audioBuffer); |
48 testRunner.setAudioData(audioData); | 48 testRunner.setAudioData(audioData); |
49 | 49 |
50 testRunner.notifyDone(); | 50 testRunner.notifyDone(); |
51 } | 51 } |
52 | 52 |
53 runTest(); | 53 runTest(); |
54 | 54 |
55 </script> | 55 </script> |
56 | 56 |
57 <script src="../fast/js/resources/js-test-post.js"></script> | |
58 | 57 |
59 <body> | 58 <body> |
60 </body> | 59 </body> |
61 </html> | 60 </html> |
OLD | NEW |