28 #ifndef HPL_LOWLEVELSOUND_OPENAL_H 29 #define HPL_LOWLEVELSOUND_OPENAL_H 31 #include "common/array.h" 32 #include "hpl1/engine/sound/LowLevelSound.h" 41 class cOpenALSoundChannel;
51 const tString &asType,
bool abStream,
bool abLoopStream);
53 void UpdateSound(
float afTimeStep);
57 void SetListenerPosition(
const cVector3f &avPos);
59 void SetSetRolloffFactor(
float afFactor);
61 void SetListenerAttenuation(
bool abEnabled);
63 void Init(
bool abUseHardware,
bool abForceGeneric,
bool abUseEnvAudio,
int alMaxChannels,
64 int alStreamUpdateFreq,
bool abUseThreading,
bool abUseVoiceManagement,
65 int alMaxMonoSourceHint,
int alMaxStereoSourceHint,
66 int alStreamingBufferSize,
int alStreamingBufferCount,
bool abEnableLowLevelLog,
69 void SetVolume(
float afVolume);
71 void SetEnvVolume(
float afEnvVolume);
81 static const int MAX_ACTIVE_CHANNELS = 32;
86 bool mbNullEffectAttached;
91 #endif // HPL_LOWLEVELSOUND_OPENAL_H
Definition: SoundEnvironment.h:36
Definition: OpenALSoundChannel.h:45
Definition: SoundData.h:39
Definition: LowLevelSoundOpenAL.h:43
Definition: LowLevelSound.h:45