Source that creates a streaming infinite length loop from another source. If reading data reaches the end or the loop endpoint, it seeks back to the loop start point. More...
#include <Source.h>
Inherits AUDIO::Source, and ReferenceCountedData< SharedLoopSourceData >.
Public Member Functions | |
LoopSource (Source &source, nuint loopStartSample=0, nuint loopEndSample=~0) | |
Source will initially start at the beginning (you can always Seek() still), and read until loopEndSample or the end is hit, at which point it is Seek()'d back to loopStartSample. This will loop forever. |
Source that creates a streaming infinite length loop from another source. If reading data reaches the end or the loop endpoint, it seeks back to the loop start point.