openalpp::AudioConvert Class Reference

List of all members.

Public Member Functions

 AudioConvert (ALenum format, unsigned int frequency)
void * apply (void *data, ALenum format, unsigned int frequency, unsigned int &size)


Detailed Description

Class for converting audio.

Constructor & Destructor Documentation

openalpp::AudioConvert::AudioConvert ( ALenum  format,
unsigned int  frequency 
)

Constructor.

Parameters:
format is the (OpenAL) format that data will be converted to.
frequency is the frequency the data will be converted to.


Member Function Documentation

void* openalpp::AudioConvert::apply ( void *  data,
ALenum  format,
unsigned int  frequency,
unsigned int &  size 
)

Apply the conversion to data.

Parameters:
data is the data to convert.
format is the (OpenAL) format of the data.
frequency is the frequency of the data.
size is the size of the data. It will be updated to the new size.


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

Generated on Sun Aug 24 13:41:34 2008 for osgAL by  doxygen 1.5.6