| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2  |   2  | 
|   3 <!-- |   3 <!-- | 
|   4 See if we can load an AudioBuffer, create an AudioBufferSourceNode, attach the b
    uffer to it, then play it. |   4 See if we can load an AudioBuffer, create an AudioBufferSourceNode, attach the b
    uffer to it, then play it. | 
|   5 --> |   5 --> | 
|   6  |   6  | 
|   7 <html> |   7 <html> | 
|   8 <head> |   8 <head> | 
|   9 <script src="../../resources/js-test.js"></script> |   9 <script src="../../resources/js-test.js"></script> | 
|  10 <script src="../resources/audit-util.js"></script> |  10 <script src="../resources/audit-util.js"></script> | 
|  11 <script src="../resources/audio-testing.js"></script> |  | 
|  12 <script type="text/javascript" src="../resources/buffer-loader.js"></script> |  11 <script type="text/javascript" src="../resources/buffer-loader.js"></script> | 
|  13  |  12  | 
|  14 <script> |  13 <script> | 
|  15  |  14  | 
|  16 window.onload = init; |  15 window.onload = init; | 
|  17  |  16  | 
|  18 var sampleRate = 44100.0; |  17 var sampleRate = 44100.0; | 
|  19 var lengthInSeconds = 2; |  18 var lengthInSeconds = 2; | 
|  20  |  19  | 
|  21 var context = 0; |  20 var context = 0; | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  49      |  48      | 
|  50     context.oncomplete = finishAudioTest; |  49     context.oncomplete = finishAudioTest; | 
|  51     context.startRendering();     |  50     context.startRendering();     | 
|  52 } |  51 } | 
|  53  |  52  | 
|  54 </script> |  53 </script> | 
|  55 </head> |  54 </head> | 
|  56 <body> |  55 <body> | 
|  57 </body> |  56 </body> | 
|  58 </html> |  57 </html> | 
| OLD | NEW |