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

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 Thu Dec 9 14:08:13 2004 for openalpp by  doxygen 1.3.9.1