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