sipxmedialib  Version 3.3
Protected Member Functions | Private Attributes | List of all members
StreamWAVFormatDecoder Class Reference

#include <StreamWAVFormatDecoder.h>

Inheritance diagram for StreamWAVFormatDecoder:
Inheritance graph
[legend]
Collaboration diagram for StreamWAVFormatDecoder:
Collaboration graph
[legend]

Public Member Functions

Creators
 StreamWAVFormatDecoder (StreamDataSource *pDataSource)
 
virtual ~StreamWAVFormatDecoder ()
 
Manipulators
virtual OsStatus init ()
 
virtual OsStatus free ()
 
virtual OsStatus begin ()
 
virtual OsStatus end ()
 
Accessors
virtual OsStatus toString (UtlString &string)
 
Inquiry
virtual UtlBoolean isDecoding ()
 
virtual UtlBoolean validDecoder ()
 
- Public Member Functions inherited from StreamQueueingFormatDecoder
 StreamQueueingFormatDecoder (StreamDataSource *pDataSource, int iQueueLength)
 
virtual ~StreamQueueingFormatDecoder ()
 
virtual OsStatus getFrame (unsigned short *samples)
 
virtual OsStatus queueFrame (const unsigned short *pSamples)
 returns OS_SUCCESS if a frame is available More...
 
virtual OsStatus queueEndOfFrames ()
 
virtual OsStatus drain ()
 
int getMaxQueueLength ()
 
int getNumQueuedFrames ()
 
- Public Member Functions inherited from StreamFormatDecoder
 StreamFormatDecoder (StreamDataSource *pDataSource)
 
virtual ~StreamFormatDecoder ()
 
void setListener (StreamDecoderListener *pListener)
 returns TRUE if a frame is available, otherwise false More...
 
StreamDataSourcegetDataSource ()
 

Protected Member Functions

 StreamWAVFormatDecoder (const StreamWAVFormatDecoder &rStreamWAVFormatDecoder)
 
StreamWAVFormatDecoderoperator= (const StreamWAVFormatDecoder &rhs)
 
int run (void *pArgs)
 
UtlBoolean nextDataChunk (int &iLength)
 
- Protected Member Functions inherited from StreamQueueingFormatDecoder
 StreamQueueingFormatDecoder (const StreamQueueingFormatDecoder &rStreamQueueingFormatDecoder)
 
StreamQueueingFormatDecoderoperator= (const StreamQueueingFormatDecoder &rhs)
 
- Protected Member Functions inherited from StreamFormatDecoder
 StreamFormatDecoder (const StreamFormatDecoder &rStreamFormatDecoder)
 
StreamFormatDecoderoperator= (const StreamFormatDecoder &rhs)
 
virtual void fireEvent (StreamDecoderEvent event)
 

Private Attributes

UtlBoolean mbEnd
 
OsBSem mSemExited
 
struct FORMATChunkInfo mFormatChunk
 

Constructor & Destructor Documentation

~StreamWAVFormatDecoder ( )
virtual
StreamWAVFormatDecoder ( const StreamWAVFormatDecoder rStreamWAVFormatDecoder)
protected

Member Function Documentation

OsStatus init ( )
virtual

Implements StreamFormatDecoder.

OsStatus free ( )
virtual

Implements StreamFormatDecoder.

OsStatus begin ( )
virtual

Implements StreamFormatDecoder.

OsStatus end ( )
virtual

Implements StreamFormatDecoder.

OsStatus toString ( UtlString &  string)
virtual

Implements StreamFormatDecoder.

UtlBoolean isDecoding ( )
virtual

Implements StreamFormatDecoder.

UtlBoolean validDecoder ( )
virtual

Implements StreamFormatDecoder.

StreamWAVFormatDecoder & operator= ( const StreamWAVFormatDecoder rhs)
protected
int run ( void *  pArgs)
protected
UtlBoolean nextDataChunk ( int &  iLength)
protected

Member Data Documentation

UtlBoolean mbEnd
private
OsBSem mSemExited
private
struct FORMATChunkInfo mFormatChunk
private