]> git.jsancho.org Git - lugaru.git/blobdiff - Source/openal_wrapper.h
Fixed a bug loading all persons with the same ID. I hope it will fix weapon problems
[lugaru.git] / Source / openal_wrapper.h
index 39f05eb96417695e6505c02eb5e3daa740e15fed..16d4f674c94db8ed0754ea79610fcdf528c6d241 100644 (file)
@@ -1,5 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
+Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -93,12 +94,11 @@ extern "C" {
     AL_API void OPENAL_Close();
     AL_API OPENAL_SAMPLE *OPENAL_Sample_Load(int index, const char *name_or_data, unsigned int mode, int offset, int length);
     AL_API void OPENAL_Sample_Free(OPENAL_SAMPLE *sptr);
-    AL_API signed char OPENAL_SetFrequency(int channel, int freq);
+    AL_API signed char OPENAL_SetFrequency(int channel, bool slomo = false);
     AL_API signed char OPENAL_SetVolume(int channel, int vol);
     AL_API signed char OPENAL_SetPaused(int channel, signed char paused);
     AL_API void OPENAL_SetSFXMasterVolume(int volume);
     AL_API signed char OPENAL_StopSound(int channel);
-    AL_API void OPENAL_Stream_Close(OPENAL_STREAM *stream);
     AL_API signed char OPENAL_Stream_SetMode(OPENAL_STREAM *stream, unsigned int mode);
     AL_API void OPENAL_Update();
     AL_API signed char OPENAL_SetOutput(int outputtype);