OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test Setting of channelCountMode and channelInterpretation</title> | 4 <title>Test Setting of channelCountMode and channelInterpretation</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 and number of frames, except the number of | 13 // Fairly arbitrary sample rate and number of frames, except the number of |
14 // frames should be more than a few render quantums. | 14 // frames should be more than a few render quantums. |
15 var sampleRate = 16000; | 15 var sampleRate = 16000; |
16 var renderFrames = 10 * 128; | 16 var renderFrames = 10 * 128; |
17 | 17 |
18 var audit = Audit.createTaskRunner(); | 18 var audit = Audit.createTaskRunner(); |
(...skipping 30 matching lines...) Expand all Loading... |
49 // After rendering, the value should have been changed. | 49 // After rendering, the value should have been changed. |
50 Should("After rendering node.channelCountMode", | 50 Should("After rendering node.channelCountMode", |
51 node.channelCountMode) | 51 node.channelCountMode) |
52 .beEqualTo("explicit"); | 52 .beEqualTo("explicit"); |
53 }).then(taskDone); | 53 }).then(taskDone); |
54 }); | 54 }); |
55 audit.runTasks(); | 55 audit.runTasks(); |
56 </script> | 56 </script> |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |