28#ifndef HPL_LOWLEVELSOUND_OPENAL_H
29#define HPL_LOWLEVELSOUND_OPENAL_H
31#include "common/array.h"
32#include "hpl1/engine/sound/LowLevelSound.h"
41class 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;
Definition: LowLevelSoundOpenAL.h:43
void GetSupportedFormats(tStringList &alstFormats)
Definition: OpenALSoundChannel.h:45
Definition: LowLevelSound.h:45
Definition: SoundData.h:39
Definition: SoundEnvironment.h:36