LOG(std::string("Loading sounds..."));
- OPENAL_3D_SetDopplerFactor(0);
-
OPENAL_SetSFXMasterVolume((int)(volume*255));
if(visibleloading){LoadingScreen(); loadscreencolor=5;}
return true;
}
-AL_API void OPENAL_3D_SetDopplerFactor(float scale)
-{
- if (!initialized) return;
- // unimplemented...looks like init routines just call this with scale == 0.0f anyhow.
-}
-
AL_API signed char OPENAL_Init(int mixrate, int maxsoftwarechannels, unsigned int flags)
{
if (initialized) return false;
AL_API void OPENAL_3D_Listener_SetAttributes(const float *pos, const float *vel, float fx, float fy, float fz, float tx, float ty, float tz);
AL_API signed char OPENAL_3D_SetAttributes(int channel, const float *pos, const float *vel);
-AL_API void OPENAL_3D_SetDopplerFactor(float scale);
AL_API signed char OPENAL_Init(int mixrate, int maxsoftwarechannels, unsigned int flags);
AL_API void OPENAL_Close();
AL_API OPENAL_SAMPLE *OPENAL_GetCurrentSample(int channel);