OLD | NEW |
| (Empty) |
1 Tests AudioBufferSourceNode start() with a variety of offsets and durations. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 PASS start(when): implicitly play whole buffer from beginning to end | |
6 PASS start(when, 0): play whole buffer from beginning to end explicitly giving o
ffset of 0 | |
7 PASS start(when, 0, 8_frames): play whole buffer from beginning to end explicitl
y giving offset of 0 and duration of 8 frames | |
8 PASS start(when, 4_frames): play with explicit non-zero offset | |
9 PASS start(when, 4_frames, 4_frames): play with explicit non-zero offset and dur
ation | |
10 PASS start(when, 7_frames): play with explicit non-zero offset near end of buffe
r | |
11 PASS start(when, 8_frames): play with explicit offset at end of buffer | |
12 PASS start(when, 9_frames): play with explicit offset past end of buffer | |
13 PASS start(when, 0, 15_frames): play with whole buffer, with long duration (clip
ped) | |
14 PASS successfullyParsed is true | |
15 | |
16 TEST COMPLETE | |
17 | |
OLD | NEW |