#include <RingBuffer.h>
Inheritance diagram for csl::RingBufferTap:

Public Member Functions | |
| RingBufferTap (RingBuffer *parent, int offset=0) | |
| Create a tap on a ring buffer, optionally offset relative to the current write position. | |
| unsigned | duration () const |
| unsigned | seekTo (int position, SeekPosition whence) throw (CException) |
| void | setLoopStart (unsigned frame) |
| void | setLoopEnd (unsigned frame) |
| void | nextBuffer (Buffer &outputBuffer) throw (CException) |
| nextBuffer method | |
| void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| void | destructiveNextBuffer (Buffer &outputBuffer) throw (CException) |
| Same as the next buffer but zeroing as it goes. | |
| void | destructiveNextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
Public Attributes | |
| unsigned | mLoopStartFrame |
| Number of frames from the beginning to start a loop at. | |
| unsigned | mLoopEndFrame |
| Number of frames away from buffer end. | |
Protected Member Functions | |
| void | setOffset (int offset) |
Protected Attributes | |
| unsigned | mTempCurrentFrame |
| RingBuffer * | mParentBuffer |
Friends | |
| class | RingBuffer |
| Allow RingBuffer to access private members of RingBufferTap. | |
|
||||||||||||
|
Create a tap on a ring buffer, optionally offset relative to the current write position.
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
nextBuffer method
|
|
||||||||||||
|
|
|
|
Same as the next buffer but zeroing as it goes.
|
|
||||||||||||
|
|
|
|
|
|
|
Allow RingBuffer to access private members of RingBufferTap.
|
|
|
Number of frames from the beginning to start a loop at.
|
|
|
Number of frames away from buffer end.
|
|
|
|
|
|
|
1.4.5-20051010