|
CSL
5.2
|
Seekable – a mix-in for positionable streams. More...
#include <CSL_Core.h>
Inheritance diagram for csl::Seekable:Public Member Functions | |
| Seekable () | |
| Constructor. | |
| virtual | ~Seekable () |
| virtual unsigned | seekTo (int position, SeekPosition whence)=0 throw (CException) |
| general-purpose seek on a stream | |
| virtual void | reset () throw (CException) |
| reset-to-zero | |
| virtual unsigned | duration ()=0 |
| number of frames in the Seekable | |
Public Attributes | |
| unsigned | mCurrentFrame |
| where I currently am in the buffer | |
| double | mActualFrame |
| where I actually am in the buffer | |
Seekable – a mix-in for positionable streams.
Definition at line 545 of file CSL_Core.h.
|
inline |
Constructor.
Definition at line 547 of file CSL_Core.h.
|
inlinevirtual |
Definition at line 548 of file CSL_Core.h.
|
pure virtual |
general-purpose seek on a stream
Implemented in csl::Abst_SoundFile, csl::BufferStream, csl::LSoundFile, csl::JSoundFile, csl::CASoundFile, and csl::RingBufferTap.
Referenced by reset().
|
virtual |
reset-to-zero
Definition at line 1123 of file CSL_Core.cpp.
References csl::kPositionStart, and seekTo().
|
pure virtual |
number of frames in the Seekable
Implemented in csl::Abst_SoundFile, and csl::RingBufferTap.
| unsigned csl::Seekable::mCurrentFrame |
where I currently am in the buffer
Definition at line 548 of file CSL_Core.h.
Referenced by csl::Abst_SoundFile::Abst_SoundFile(), csl::DelayLine::delayLength(), csl::Abst_SoundFile::isActive(), csl::LSoundFile::isCached(), csl::Abst_SoundFile::isCached(), csl::CASoundFile::openForRead(), csl::CASoundFile::readBufferFromFile(), csl::JSoundFile::readBufferFromFile(), csl::LSoundFile::readBufferFromFile(), csl::RingBufferTap::setOffset(), csl::Abst_SoundFile::setToEnd(), and csl::Abst_SoundFile::trigger().
| double csl::Seekable::mActualFrame |
where I actually am in the buffer
Definition at line 551 of file CSL_Core.h.