X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2Fopenal_wrapper.h;h=16d4f674c94db8ed0754ea79610fcdf528c6d241;hb=599983e84cffd250055557d78b4d8b4af84cb092;hp=39f05eb96417695e6505c02eb5e3daa740e15fed;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/openal_wrapper.h b/Source/openal_wrapper.h index 39f05eb..16d4f67 100644 --- a/Source/openal_wrapper.h +++ b/Source/openal_wrapper.h @@ -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);