Lines Matching refs:capture
350 if (!this->hidden->capture) { in WASAPI_CaptureFromDevice()
357 … ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NULL, NULL); in WASAPI_CaptureFromDevice()
387 ret = IAudioCaptureClient_ReleaseBuffer(this->hidden->capture, frames); in WASAPI_CaptureFromDevice()
404 if (!this->hidden->capture) { in WASAPI_FlushCapture()
410 …const HRESULT ret = IAudioCaptureClient_GetBuffer(this->hidden->capture, &ptr, &frames, &flags, NU… in WASAPI_FlushCapture()
415 … } else if (WasapiFailed(this, IAudioCaptureClient_ReleaseBuffer(this->hidden->capture, frames))) { in WASAPI_FlushCapture()
437 if (this->hidden->capture) { in ReleaseWasapiDevice()
438 IAudioCaptureClient_Release(this->hidden->capture); in ReleaseWasapiDevice()
439 this->hidden->capture = NULL; in ReleaseWasapiDevice()
513 IAudioCaptureClient *capture = NULL; in WASAPI_PrepDevice() local
627 ret = IAudioClient_GetService(client, &SDL_IID_IAudioCaptureClient, (void**) &capture); in WASAPI_PrepDevice()
632 SDL_assert(capture != NULL); in WASAPI_PrepDevice()
633 this->hidden->capture = capture; in WASAPI_PrepDevice()