openalpp::FileStreamUpdater Class Reference

#include <filestreamupdater.h>

Inheritance diagram for openalpp::FileStreamUpdater:

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

Public Member Functions

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

Protected Member Functions

virtual ~FileStreamUpdater ()

Detailed Description

Updater for streams from files.


Constructor & Destructor Documentation

openalpp::FileStreamUpdater::FileStreamUpdater ( 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::seek ( float  time_s  )  [virtual]

Seeks to specified time

Reimplemented from openalpp::StreamUpdater.

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 Oct 12 05:46:17 2006 for openalpp by  doxygen 1.4.7