| 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/audio-testing.js"></script> | 8 <script src="resources/audio-testing.js"></script> |
| 8 </head> | 9 </head> |
| 9 | 10 |
| 10 <body> | 11 <body> |
| 11 <script> | 12 <script> |
| 12 // 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 |
| 13 // frames should be more than a few render quantums. | 14 // frames should be more than a few render quantums. |
| 14 var sampleRate = 16000; | 15 var sampleRate = 16000; |
| 15 var renderFrames = 10 * 128; | 16 var renderFrames = 10 * 128; |
| 16 | 17 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // After rendering, the value should have been changed. | 49 // After rendering, the value should have been changed. |
| 49 Should("After rendering node.channelCountMode", | 50 Should("After rendering node.channelCountMode", |
| 50 node.channelCountMode) | 51 node.channelCountMode) |
| 51 .beEqualTo("explicit"); | 52 .beEqualTo("explicit"); |
| 52 }).then(taskDone); | 53 }).then(taskDone); |
| 53 }); | 54 }); |
| 54 audit.runTasks(); | 55 audit.runTasks(); |
| 55 </script> | 56 </script> |
| 56 </body> | 57 </body> |
| 57 </html> | 58 </html> |
| OLD | NEW |