Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

MMAudio::Stream Class Reference
[Audio]

Class for playing an ogg/vorbis file. More...

#include <stream.h>

List of all members.

Public Methods

 Stream (const char *filename)
 Create a stream.

void play ()
 Play the file.

void stop ()
 Stop playing.

void rewind ()
 Go back to the beginning of the vorbis file.

bool isPlaying ()
 Check if this stream is playing.

bool update ()
 Refill the buffers for the stream.


Detailed Description

Class for playing an ogg/vorbis file.

Definition at line 14 of file stream.h.


Constructor & Destructor Documentation

Stream::Stream const char *    filename
 

Create a stream.

Parameters:
filename  Name of the file to play

Definition at line 6 of file stream.cpp.


Member Function Documentation

void Stream::rewind  
 

Go back to the beginning of the vorbis file.

Any currently decoded audio remains buffered

Definition at line 14 of file stream.cpp.

bool Stream::update  
 

Refill the buffers for the stream.

Returns:
false if the entire file has been decoded.

Definition at line 16 of file stream.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Aug 18 16:03:36 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18