FS2_Open
Open source remastering of the Freespace 2 engine
openal.cpp File Reference
#include "globalincs/pstypes.h"
#include "sound/openal.h"
#include "osapi/osregistry.h"
#include <string>
#include <algorithm>

Go to the source code of this file.

Classes

struct  OALdevice
 

Macros

#define ALC_ALL_DEVICES_SPECIFIER   0x1013
 

Typedefs

typedef struct OALdevice OALdevice
 

Enumerations

enum  { OAL_DEVICE_GENERIC, OAL_DEVICE_DEFAULT, OAL_DEVICE_USER }
 

Functions

const char * openal_error_string (int get_alc)
 
ALenum openal_get_format (ALint bits, ALint n_channels)
 
bool openal_init_device (SCP_string *playback, SCP_string *capture)
 

Macro Definition Documentation

#define ALC_ALL_DEVICES_SPECIFIER   0x1013

Definition at line 47 of file openal.cpp.

Typedef Documentation

typedef struct OALdevice OALdevice

Enumeration Type Documentation

anonymous enum
Enumerator
OAL_DEVICE_GENERIC 
OAL_DEVICE_DEFAULT 
OAL_DEVICE_USER 

Definition at line 19 of file openal.cpp.

Function Documentation

const char* openal_error_string ( int  get_alc)

Definition at line 56 of file openal.cpp.

ALenum openal_get_format ( ALint  bits,
ALint  n_channels 
)

Definition at line 78 of file openal.cpp.

bool openal_init_device ( SCP_string playback,
SCP_string capture 
)

Definition at line 323 of file openal.cpp.