OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
OpenALSoundProvider.h File Reference
#include <cstddef>
#include <al.h>
#include <alc.h>

Classes

class  OpenALSoundProvider
 
struct  OpenALSoundProvider::TrackBuffer
 
struct  OpenALSoundProvider::StreamingTrackBuffer
 

Functions

void setSourceDefaults (ALuint al_source)
 
bool checkOpenALError ()
 

Variables

constexpr float MAX_SOUND_DIST = 60000.0f
 
constexpr float REFERENCE_DIST = 300.0f
 
constexpr float ROLLOFF_FACTOR = 1.5f
 

Function Documentation

◆ checkOpenALError()

bool checkOpenALError ( )

◆ setSourceDefaults()

void setSourceDefaults ( ALuint  al_source)

Variable Documentation

◆ MAX_SOUND_DIST

constexpr float MAX_SOUND_DIST = 60000.0f
constexpr

◆ REFERENCE_DIST

constexpr float REFERENCE_DIST = 300.0f
constexpr

◆ ROLLOFF_FACTOR

constexpr float ROLLOFF_FACTOR = 1.5f
constexpr