aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/sample_cvt.h
blob: a3b53d44ac09c45ccb102ce99438e97797da2a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SAMPLE_CVT_H
#define SAMPLE_CVT_H

#include "AL/al.h"
#include "alBuffer.h"

#ifdef __cplusplus
extern "C" {
#endif

extern const ALshort muLawDecompressionTable[256];
extern const ALshort aLawDecompressionTable[256];

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);

#ifdef __cplusplus
} // extern "C"
#endif

#endif /* SAMPLE_CVT_H */