openalpp::AudioConvert Class Reference

#include <audioconvert.h>

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 Sat Dec 30 13:31:01 2006 for openalpp by  doxygen 1.5.1