Searched refs:sCaptureBuffer (Results 1 – 1 of 1) sorted by relevance
57 static LPDIRECTSOUNDCAPTUREBUFFER sCaptureBuffer = NULL; variable99 sCaptureBuffer->GetCurrentPosition(&theReadPosition, NULL); in transmit_captured_data()112 …sCaptureBuffer->Lock(sNextReadStartPosition, theAmountOfDataAvailable, &theFirstChunkStart, &theFi… in transmit_captured_data()124 …sCaptureBuffer->Unlock(theFirstChunkStart, theFirstChunkSize, theSecondChunkStart, theSecondChunkS… in transmit_captured_data()137 assert(sCaptureBuffer == NULL); in open_network_microphone()185 … = sDirectSoundCapture->CreateCaptureBuffer(&theRecordingBufferDescription, &sCaptureBuffer, NULL); in open_network_microphone()223 HRESULT theResult = sCaptureBuffer->Start(DSCBSTART_LOOPING); in start_transmitting_audio()235 HRESULT theResult = sCaptureBuffer->Stop(); in stop_transmitting_audio()250 if(sCaptureBuffer != NULL) { in close_network_microphone()251 sCaptureBuffer->Release(); in close_network_microphone()[all …]