aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/sample_cvt.h
blob: c041760e60b2238ebccc47eacafc75f813aee0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SAMPLE_CVT_H
#define SAMPLE_CVT_H

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

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

#endif /* SAMPLE_CVT_H */