# Loop AudioBufferSourceNode, with buffer set after start

Test that looping an AudioBufferSource works correctly if the source is started and the buffer is assigned later, but before the source would start. This can't be easily tested in an offline context because we can't precisely control when the assignment of the buffer to the source is done.

Press the "Start" button for the normal case where the buffer is assigned before start.

Press the "Start delayed" button for the case where the source is started and the buffer assigned later.

You should hear audio about 2 sec after pressing the button. It should continue until you press the corresponding Stop button.