Trying to make voicechat controls more usable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3660 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
188d0b5225
commit
6d7724f339
5 changed files with 78 additions and 34 deletions
|
@ -905,6 +905,7 @@ static WAVEFORMATEX wfxFormat;
|
|||
|
||||
qboolean SNDDMA_InitCapture (void)
|
||||
{
|
||||
DWORD capturePos;
|
||||
DSCBUFFERDESC bufdesc;
|
||||
|
||||
wfxFormat.wFormatTag = WAVE_FORMAT_PCM;
|
||||
|
@ -970,7 +971,7 @@ qboolean SNDDMA_InitCapture (void)
|
|||
IDirectSoundCaptureBuffer_Start(DSCaptureBuffer, DSBPLAY_LOOPING);
|
||||
|
||||
lastreadpos = 0;
|
||||
|
||||
IDirectSoundCaptureBuffer_GetCurrentPosition(DSCaptureBuffer, &capturePos, &lastreadpos);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue