#include <audiere.h>
Inheritance diagram for audiere::LoopPointSource:
Public Member Functions | |
virtual void | addLoopPoint (int location, int target, int loopCount)=0 |
virtual void | removeLoopPoint (int index)=0 |
virtual int | getLoopPointCount ()=0 |
virtual bool | getLoopPoint (int index, int &location, int &target, int &loopCount)=0 |
Protected Member Functions | |
~LoopPointSource () |
Loop points only take effect when repeating has been enabled via the setRepeat() method.
Loop points are stored in sorted order by their location. Each one has an index based on its location within the list. A loop point's index will change if another is added before it.
There is always one implicit loop point after the last sample that points back to the first. That way, this class's default looping behavior is the same as a standard SampleSource. This loop point does not show up in the list.
Definition at line 425 of file audiere.h.
|
|
|
Adds a loop point to the stream. If a loop point at 'location' already exists, the new one replaces it. Location and target are clamped to the actual length of the stream.
Implemented in audiere::LoopPointSourceImpl. |
|
Retrieves information about a specific loop point.
Implemented in audiere::LoopPointSourceImpl. |
|
Returns the number of loop points in this stream. Implemented in audiere::LoopPointSourceImpl. |
|
Removes the loop point at index 'index' from the stream.
Implemented in audiere::LoopPointSourceImpl. |