Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

openalpp::FileStreamUpdater Class Reference

#include <filestreamupdater.h>

Inheritance diagram for openalpp::FileStreamUpdater:

openalpp::StreamUpdater openalpp::Referenced List of all members.

Public Member Functions

 FileStreamUpdater (const OggVorbis_File &oggfile, const ALuint buffer1, ALuint buffer2, ALenum format, unsigned int frequency, unsigned int buffersize)
void run ()
void setLooping (bool loop=true)

Protected Member Functions

virtual ~FileStreamUpdater ()

Detailed Description

Updater for streams from files.


Constructor & Destructor Documentation

openalpp::FileStreamUpdater::FileStreamUpdater const OggVorbis_File &  oggfile,
const ALuint  buffer1,
ALuint  buffer2,
ALenum  format,
unsigned int  frequency,
unsigned int  buffersize
 

Constructor.

Parameters:
oggfile is the structure created by ov_open
buffer1 and...
buffer2 are the sound buffers to use.
format is the (OpenAL) format of the sound data.
frequency is the frequency of the sound data.
buffersize is the size of the buffer (in bytes)

virtual openalpp::FileStreamUpdater::~FileStreamUpdater  )  [protected, virtual]
 

Destructor.


Member Function Documentation

void openalpp::FileStreamUpdater::run  ) 
 

Inherited from Thread. This will be called when the updater is Start():ed..

void openalpp::FileStreamUpdater::setLooping bool  loop = true  ) 
 

Turn on/off looping.

Parameters:
loop is true if the stream should loop, false otherwise.


The documentation for this class was generated from the following file:
Generated on Thu Dec 9 14:08:13 2004 for openalpp by  doxygen 1.3.9.1