Move the sample conversion routines to a separate file

This commit is contained in:
Chris Robinson 2014-03-05 16:17:47 -08:00
parent bf4ddfef6d
commit 143f786d1a
4 changed files with 1279 additions and 1261 deletions

View File

@ -515,6 +515,7 @@ SET(OPENAL_OBJS OpenAL32/alAuxEffectSlot.c
OpenAL32/alSource.c
OpenAL32/alState.c
OpenAL32/alThunk.c
OpenAL32/sample_cvt.c
)
SET(ALC_OBJS Alc/ALc.c
Alc/ALu.c

View File

@ -0,0 +1,9 @@
#ifndef SAMPLE_CVT_H
#define SAMPLE_CVT_H
#include "AL/al.h"
#include "alBuffer.h"
void ConvertData(ALvoid *dst, enum UserFmtType dstType, const ALvoid *src, enum UserFmtType srcType, ALsizei numchans, ALsizei len, ALsizei align);
#endif /* SAMPLE_CVT_H */

File diff suppressed because it is too large Load Diff

1266
OpenAL32/sample_cvt.c Normal file

File diff suppressed because it is too large Load Diff