2014-03-05 16:17:47 -08:00
|
|
|
#ifndef SAMPLE_CVT_H
|
|
|
|
#define SAMPLE_CVT_H
|
|
|
|
|
|
|
|
#include "AL/al.h"
|
|
|
|
#include "alBuffer.h"
|
|
|
|
|
2018-10-27 18:56:11 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-01-17 08:49:49 -08:00
|
|
|
extern const ALshort muLawDecompressionTable[256];
|
|
|
|
extern const ALshort aLawDecompressionTable[256];
|
|
|
|
|
2018-01-21 23:35:28 -08:00
|
|
|
void Convert_ALshort_ALima4(ALshort *dst, const ALubyte *src, ALsizei numchans, ALsizei len,
|
|
|
|
ALsizei align);
|
|
|
|
void Convert_ALshort_ALmsadpcm(ALshort *dst, const ALubyte *src, ALsizei numchans, ALsizei len,
|
|
|
|
ALsizei align);
|
2014-03-05 16:17:47 -08:00
|
|
|
|
2018-10-27 18:56:11 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2014-03-05 16:17:47 -08:00
|
|
|
#endif /* SAMPLE_CVT_H */
|