1 Tests AudioBufferSourceNode looping with a variety of loop points.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS loop whole buffer by default with loopStart == loopEnd == 0
6 PASS loop whole buffer explicitly
7 PASS loop from middle to end of buffer
8 PASS loop from start to middle of buffer
9 PASS loop internally from 4 -> 6
10 PASS loop internally from 3 -> 7
11 PASS loop internally from 4 -> 6 with playbackRate of 0.5
12 PASS loop internally from 4 -> 6 with playbackRate of 1.5
13 PASS illegal playbackRate of 47 greater than loop length
14 PASS illegal loop: loopStartFrame > loopEndFrame
15 PASS illegal loop: loopStartFrame == loopEndFrame
16 PASS illegal loop: loopStartFrame < 0
17 PASS illegal loop: loopEndFrame > bufferLength