Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SoundD3D.cpp File Reference
#include <objbase.h>
#include <cguid.h>
#include <mmsystem.h>
#include <dsound.h>
#include "MemDebug.h"
#include "SoundD3D.h"
#include "Game.h"

Go to the source code of this file.

Macros

#define RELEASE(x)   if (x) { x->Release(); x=NULL; }

Functions

void Print (const char *msg,...)
char * DSErrStr (HRESULT dserr)
void SoundD3DError (const char *msg, HRESULT dserr)

Variables

int ogg_read_error_count = 0

Macro Definition Documentation

#define RELEASE (   x)    if (x) { x->Release(); x=NULL; }

Definition at line 39 of file SoundD3D.cpp.


Function Documentation

char * DSErrStr ( HRESULT  dserr)

Definition at line 1236 of file SoundD3D.cpp.

void Print ( const char *  msg,
  ... 
)

Definition at line 1520 of file Game.cpp.

void SoundD3DError ( const char *  msg,
HRESULT  dserr 
)

Definition at line 1230 of file SoundD3D.cpp.


Variable Documentation

int ogg_read_error_count = 0

Definition at line 574 of file SoundD3D.cpp.