jedi-academy/codemp/null/null_snddma.cpp

52 lines
672 B
C++
Raw Normal View History

2013-04-19 02:52:48 +00:00
// snddma_null.c
// all other sound mixing is portable
#include "../client/client.h"
qboolean SNDDMA_Init(void)
{
return qfalse;
}
int SNDDMA_GetDMAPos(void)
{
return 0;
}
void SNDDMA_Shutdown(void)
{
}
void SNDDMA_BeginPainting (void)
{
}
void SNDDMA_Submit(void)
{
}
#ifdef DEDICATED
qboolean gbInsideLoadSound = qfalse; // important to default to this!!!
2013-04-19 02:52:48 +00:00
sfxHandle_t S_RegisterSound( const char *name ) {
return 0;
}
void S_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) {
}
void S_ClearSoundBuffer( void ) {
}
qboolean SND_RegisterAudio_LevelLoadEnd(qboolean something)
{
return qfalse;
}
int SND_FreeOldestSound(void)
{
return 0;
}
#endif