#include <CSL_Core.h>

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 () const =0 |
| number of frames in the Seekable | |
Public Attributes | |
| unsigned | mCurrentFrame |
| where I currently am in the buffer | |
| double | mActualFrame |
| where I currently am in the buffer | |
| csl::Seekable::Seekable | ( | ) | [inline] |
Constructor.
| virtual csl::Seekable::~Seekable | ( | ) | [inline, virtual] |
| virtual unsigned csl::Seekable::seekTo | ( | int | position, | |
| SeekPosition | whence | |||
| ) | throw (CException) [pure virtual] |
general-purpose seek on a stream
Implemented in csl::Abst_SoundFile, csl::CASoundFile, csl::JSoundFile, csl::LSoundFile, csl::RingBufferTap, and csl::BufferStream.
Referenced by reset().
| void Seekable::reset | ( | ) | throw (CException) [virtual] |
| virtual unsigned csl::Seekable::duration | ( | ) | const [pure virtual] |
number of frames in the Seekable
Implemented in csl::Abst_SoundFile, csl::JSoundFile, csl::RingBufferTap, and csl::BufferStream.
| unsigned csl::Seekable::mCurrentFrame |
where I currently am in the buffer
Referenced by csl::Abst_SoundFile::Abst_SoundFile(), csl::DelayLine::delayLength(), csl::Abst_SoundFile::isActive(), csl::LSoundFile::openForRead(), csl::JSoundFile::openForRead(), csl::CASoundFile::openForRead(), csl::LSoundFile::readBufferFromFile(), csl::JSoundFile::readBufferFromFile(), csl::CASoundFile::readBufferFromFile(), csl::RingBufferTap::setOffset(), csl::Abst_SoundFile::setToEnd(), and csl::Abst_SoundFile::trigger().
| double csl::Seekable::mActualFrame |
where I currently am in the buffer
1.5.8