doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
win_snd.cpp File Reference
#include "../../idlib/precompiled.h"
#include <DxErr.h>
#include <ks.h>
#include <ksmedia.h>
#include "../../sound/snd_local.h"
#include "win_local.h"
#include "../../openal/idal.cpp"

Go to the source code of this file.

Classes

class  idAudioBufferWIN32
 
class  idAudioHardwareWIN32
 

Macros

#define SAFE_DELETE(p)   { if(p) { delete (p); (p)=NULL; } }
 
#define SAFE_DELETE_ARRAY(p)   { if(p) { delete[] (p); (p)=NULL; } }
 
#define SAFE_RELEASE(p)   { if(p) { (p)->Release(); (p)=NULL; } }
 

Functions

bool Sys_LoadOpenAL (void)
 
void Sys_FreeOpenAL (void)
 

Macro Definition Documentation

#define SAFE_DELETE (   p)    { if(p) { delete (p); (p)=NULL; } }

Definition at line 41 of file win_snd.cpp.

#define SAFE_DELETE_ARRAY (   p)    { if(p) { delete[] (p); (p)=NULL; } }

Definition at line 42 of file win_snd.cpp.

#define SAFE_RELEASE (   p)    { if(p) { (p)->Release(); (p)=NULL; } }

Definition at line 43 of file win_snd.cpp.

Function Documentation

void Sys_FreeOpenAL ( void  )

Definition at line 542 of file win_snd.cpp.

bool Sys_LoadOpenAL ( void  )

Definition at line 512 of file win_snd.cpp.