alut.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * OpenAL cross platform audio library
  3. * Copyright (C) 1999-2000 by authors.
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Library General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Library General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Library General Public
  15. * License along with this library; if not, write to the
  16. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17. * Boston, MA 02111-1307, USA.
  18. * Or go to http://www.gnu.org/copyleft/lgpl.html
  19. */
  20. #ifndef _ALUT_H_
  21. #define _ALUT_H_
  22. #define ALUTAPI
  23. #define ALUTAPIENTRY
  24. #include "al.h"
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. #ifdef TARGET_OS_MAC
  29. #if TARGET_OS_MAC
  30. #pragma export on
  31. #endif
  32. #endif
  33. ALUTAPI ALvoid ALUTAPIENTRY alutInit(ALint *argc,ALbyte **argv);
  34. ALUTAPI ALvoid ALUTAPIENTRY alutExit(ALvoid);
  35. ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVFile(ALbyte *file,ALenum *format,ALvoid **data,ALsizei *size,ALsizei *freq);
  36. ALUTAPI ALvoid ALUTAPIENTRY alutLoadWAVMemory(ALbyte *memory,ALenum *format,ALvoid **data,ALsizei *size,ALsizei *freq);
  37. ALUTAPI ALvoid ALUTAPIENTRY alutUnloadWAV(ALenum format,ALvoid *data,ALsizei size,ALsizei freq);
  38. #ifdef TARGET_OS_MAC
  39. #if TARGET_OS_MAC
  40. #pragma export off
  41. #endif
  42. #endif
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif