warzone2100/lib/netplay/netaudio_stub.c

76 lines
2.1 KiB
C
Raw Normal View History

/*
* NetAudio.c
*
* intra/internet audio
*/
#include "frame.h"
#include "netplay.h"
// ////////////////////////////////////////////////////////////////////////
WZ_DEPRECATED BOOL NETinitAudioCapture(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETinitAudioCapture");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
WZ_DEPRECATED BOOL NETshutdownAudioCapture(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETshutdownAudioCapture");
return TRUE;
}
// ////////////////////////////////////////////////////////////////////////
WZ_DEPRECATED BOOL NETstartAudioCapture(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETstartAudioCapture");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
WZ_DEPRECATED BOOL NETstopAudioCapture(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETstopAudioCapture");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
// update the pointers and process the buffer accordingly.
WZ_DEPRECATED BOOL NETprocessAudioCapture(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETprocessAudioCapture");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
WZ_DEPRECATED BOOL NETinitPlaybackBuffer(LPDIRECTSOUND pDs)
{
debug(LOG_SOUND, "NETinitPlaybackBuffer");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
// handle the playback buffer.
WZ_DEPRECATED BOOL NETqueueIncomingAudio( LPBYTE lpbSoundData, DWORD dwSoundBytes,BOOL bStream) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETqueueIncomingAudio");
return FALSE;
}
// ////////////////////////////////////////////////////////////////////////
// Handle a incoming message that needs to be played
WZ_DEPRECATED void NETplayIncomingAudio(NETMSG *pMsg) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETplayIncomingAudio");
}
// ////////////////////////////////////////////////////////////////////////
// close it all down
WZ_DEPRECATED BOOL NETshutdownAudioPlayback(VOID) // FIXME Remove if unused
{
debug(LOG_SOUND, "NETshutdownAudioPlayback");
return TRUE;
}