Serious-Engine/Sources/Engine/Sound/al_functions.h
2016-03-11 15:57:17 +02:00

17 lines
954 B
C

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
// DLLFUNCTION(dll, output, name, inputs, params, required)
DLLFUNCTION( A11L, void, alInitLibrary, (void), 0,0);
DLLFUNCTION( A11L, void, alEndLibrary, (void), 0,0);
DLLFUNCTION( A11L, ALhandle, alOpenInputFile, (const char *strFileName), 4,0);
DLLFUNCTION( A11L, ALhandle, alOpenDecoder, (ALhandle hFile), 4,0);
DLLFUNCTION( A11L, ALhandle, alOpenSubFile, (ALhandle hFile, ALsize sOffset, ALsize sSize), 12,0);
DLLFUNCTION( A11L, ALbool, alGetMPXHeader, (ALhandle hFile, ALsint32 *piLayer,
ALsint32 *piVersion, ALsint32 *piFrequency, ALbool *pbStereo, ALsint32 *piRate), 24, 0);
DLLFUNCTION( A11L, void, alClose, (ALhandle hStream), 4,0);
DLLFUNCTION( A11L, ALsize, alRead, (ALhandle hStream, void *pvBuffer, ALsize size), 12,0);
DLLFUNCTION( A11L, void, alDecSeekAbs, (ALhandle hDecoder, ALfloat fSeconds), 8,0);
DLLFUNCTION( A11L, ALfloat, alDecGetLen, (ALhandle hDecoder), 4,0);