diff -r 6b5da1a2765a -r bd51bbf06033 openalbridge/loaders.h --- a/openalbridge/loaders.h Mon Jun 29 23:03:25 2009 +0000 +++ b/openalbridge/loaders.h Tue Jun 30 12:31:32 2009 +0000 @@ -16,18 +16,24 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ +#ifndef _OALB_LOADERS_H +#define _OALB_LOADERS_H + #include "globals.h" +#include "wrappers.h" +#include "oggvorbis.h" +#include "endianness.h" #ifdef __CPLUSPLUS extern "C" { #endif - -#pragma once - - int load_WavPcm (const char *filename, ALenum *format, uint8_t **data, ALsizei *bitsize, ALsizei *freq); - int load_OggVorbis (const char *filename, ALenum *format, uint8_t **data, ALsizei *bitsize, ALsizei *freq); + + int load_WavPcm (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); + int load_OggVorbis (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); #ifdef __CPLUSPLUS } -#endif \ No newline at end of file +#endif + +#endif /*_OALB_LOADERS_H*/