Permalink
Browse files

Merge pull request #1 from taqattack/patch-1

Update source_code/acam/loopback-capture.cpp
  • Loading branch information...
2 parents e8849ba + 03bf620 commit 8e897b02feea5e6cb1f68c135a84c50135a325e2 @rdp committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source_code/acam/loopback-capture.cpp
View
2 source_code/acam/loopback-capture.cpp
@@ -254,7 +254,7 @@ BYTE *captureData;
(void**)&pEnumerator);
EXIT_ON_ERROR(hr)
- hr = pEnumerator->GetDefaultAudioEndpoint(eRender, eConsole, &pDevice);
+ hr = get_default_device(&pDevice);
EXIT_ON_ERROR(hr)
hr = pDevice->Activate(IID_IAudioClient, CLSCTX_ALL, NULL, (void**)&pAudioClient);

0 comments on commit 8e897b0

Please sign in to comment.