#include <vxml.h>
Public Member Functions | |
PVXMLPlayable () | |
virtual BOOL | Open (PVXMLChannel &, PINDEX _delay, PINDEX _repeat, BOOL _autoDelete) |
virtual BOOL | Open (PVXMLChannel &chan, const PString &_arg, PINDEX _delay, PINDEX _repeat, BOOL v) |
virtual void | Play (PVXMLChannel &outgoingChannel)=0 |
virtual void | OnRepeat (PVXMLChannel &) |
virtual void | OnStart () |
virtual void | OnStop () |
virtual void | SetRepeat (PINDEX v) |
virtual PINDEX | GetRepeat () const |
virtual PINDEX | GetDelay () const |
void | SetFormat (const PString &_fmt) |
void | SetSampleFrequency (unsigned _rate) |
virtual BOOL | ReadFrame (PVXMLChannel &channel, void *buf, PINDEX len) |
virtual BOOL | Rewind (PChannel *) |
Protected Attributes | |
PString | arg |
PINDEX | repeat |
PINDEX | delay |
PString | format |
unsigned | sampleFrequency |
BOOL | autoDelete |
BOOL | delayDone |
Friends | |
class | PVXMLChannel |
PVXMLPlayable::PVXMLPlayable | ( | ) | [inline] |
virtual BOOL PVXMLPlayable::Open | ( | PVXMLChannel & | , | |
PINDEX | _delay, | |||
PINDEX | _repeat, | |||
BOOL | _autoDelete | |||
) | [inline, virtual] |
virtual BOOL PVXMLPlayable::Open | ( | PVXMLChannel & | chan, | |
const PString & | _arg, | |||
PINDEX | _delay, | |||
PINDEX | _repeat, | |||
BOOL | v | |||
) | [inline, virtual] |
Reimplemented in PVXMLPlayableURL, PVXMLPlayableData, and PVXMLPlayableFilename.
virtual void PVXMLPlayable::Play | ( | PVXMLChannel & | outgoingChannel | ) | [pure virtual] |
Implemented in PVXMLPlayableURL, PVXMLPlayableData, PVXMLPlayableCommand, PVXMLPlayableFilename, and PVXMLPlayableFilenameList.
virtual void PVXMLPlayable::OnRepeat | ( | PVXMLChannel & | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableFilenameList.
virtual void PVXMLPlayable::OnStart | ( | ) | [inline, virtual] |
virtual void PVXMLPlayable::OnStop | ( | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableCommand, PVXMLPlayableFilename, and PVXMLPlayableFilenameList.
virtual void PVXMLPlayable::SetRepeat | ( | PINDEX | v | ) | [inline, virtual] |
virtual PINDEX PVXMLPlayable::GetRepeat | ( | ) | const [inline, virtual] |
virtual PINDEX PVXMLPlayable::GetDelay | ( | ) | const [inline, virtual] |
void PVXMLPlayable::SetFormat | ( | const PString & | _fmt | ) | [inline] |
void PVXMLPlayable::SetSampleFrequency | ( | unsigned | _rate | ) | [inline] |
virtual BOOL PVXMLPlayable::ReadFrame | ( | PVXMLChannel & | channel, | |
void * | buf, | |||
PINDEX | len | |||
) | [virtual] |
virtual BOOL PVXMLPlayable::Rewind | ( | PChannel * | ) | [inline, virtual] |
Reimplemented in PVXMLPlayableData, and PVXMLPlayableFilename.
friend class PVXMLChannel [friend] |
PString PVXMLPlayable::arg [protected] |
PINDEX PVXMLPlayable::repeat [protected] |
PINDEX PVXMLPlayable::delay [protected] |
PString PVXMLPlayable::format [protected] |
unsigned PVXMLPlayable::sampleFrequency [protected] |
BOOL PVXMLPlayable::autoDelete [protected] |
BOOL PVXMLPlayable::delayDone [protected] |