Public Member Functions | Public Attributes

nsChannelReader Class Reference

#include <nsChannelReader.h>

Inheritance diagram for nsChannelReader:
Collaboration diagram for nsChannelReader:

List of all members.

Public Member Functions

 nsChannelReader ()
 ~nsChannelReader ()
void Init (nsMediaStream *aStream)
 Initialize the reader with the edia stream.
nsMediaStreamStream ()
void SetLastFrameTime (PRInt64 aTime)
nsIPrincipalGetCurrentPrincipal ()
OggPlayErrorCode initialise (int aBlock)
OggPlayErrorCode destroy ()
size_t io_read (char *aBuffer, size_t aCount)
int io_seek (long aOffset, int aWhence)
long io_tell ()
ogg_int64_t duration ()

Public Attributes

nsAutoPtr< nsMediaStreammStream
PRInt64 mLastFrameTime

Constructor & Destructor Documentation

nsChannelReader::nsChannelReader (  ) 
nsChannelReader::~nsChannelReader (  ) 

Member Function Documentation

OggPlayErrorCode nsChannelReader::destroy (  ) 
ogg_int64_t nsChannelReader::duration (  ) 
nsIPrincipal* nsChannelReader::GetCurrentPrincipal (  ) 
void nsChannelReader::Init ( nsMediaStream aStream  ) 

Initialize the reader with the edia stream.

This takes ownership of aStream.

OggPlayErrorCode nsChannelReader::initialise ( int  aBlock  ) 
size_t nsChannelReader::io_read ( char *  aBuffer,
size_t  aCount 
)
int nsChannelReader::io_seek ( long  aOffset,
int  aWhence 
)
long nsChannelReader::io_tell (  ) 
void nsChannelReader::SetLastFrameTime ( PRInt64  aTime  ) 
nsMediaStream* nsChannelReader::Stream (  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file: