Public Member Functions | |
| AudioConvert (ALenum format, unsigned int frequency) | |
| void * | apply (void *data, ALenum format, unsigned int frequency, unsigned int &size) |
| openalpp::AudioConvert::AudioConvert | ( | ALenum | format, | |
| unsigned int | frequency | |||
| ) |
Constructor.
| format | is the (OpenAL) format that data will be converted to. | |
| frequency | is the frequency the data will be converted to. |
| void* openalpp::AudioConvert::apply | ( | void * | data, | |
| ALenum | format, | |||
| unsigned int | frequency, | |||
| unsigned int & | size | |||
| ) |
Apply the conversion to data.
| 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. |
1.5.3