Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

notes multiple ok

  • Loading branch information...
commit 68dcac292600f80fb3397a57b71c7f20a1f2f487 1 parent 91d4fda
Roger Pack authored
13 propaganda
View
@@ -11,20 +11,9 @@ audio grabber 165,000
virtual audio capture grabber device
-
-sourceforge project, my own asdf.t28.net :P
-advertise to mauritius, VLC forum, mine...
-
-blog posts that make it...um...match google searches that are high for it.
- advertise as a competitor to that other fella :P
-
-blog all popular queries :)
-
-
-google the various, try to leave comments et al :)
-
alternative.to virtual audio cable
+propaganda from the propaganda fella
http://superuser.com/questions/190093/how-to-play-mp3-files-into-the-microphone-input
http://www.google.com/search?rlz=1C1SKPL_enUS426US426&sourceid=chrome&ie=UTF-8&q=record+what+you+hear+windows+7&safe=active
1  source_code/Debug/register_run_as_admin.bat
View
@@ -0,0 +1 @@
+regsvr32 %~dp0\audio_sniffer.ax
2  source_code/acam/acam.vcxproj.user
View
@@ -3,7 +3,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommand>g:\downloads\ffmpeg-dshow-params-4\ffmpeg.exe</LocalDebuggerCommand>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- <LocalDebuggerCommandArguments> -f dshow -i audio=virtual-audio-capturer -t 3 yo.wav</LocalDebuggerCommandArguments>
+ <LocalDebuggerCommandArguments>-y -f dshow -i audio=virtual-audio-capturer -t 30 yo.wav</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerCommand>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</LocalDebuggerCommand>
8 source_code/acam/loopback-capture.cpp
View
@@ -300,7 +300,6 @@ BYTE *captureData;
);
if (FAILED(hr)) {
ShowOutput("IAudioClient::GetService(IAudioCaptureClient) failed: hr 0x%08x\n", hr);
- //CloseHandle(hWakeUp);
pAudioClient->Release();
return hr;
}
@@ -312,7 +311,6 @@ BYTE *captureData;
DWORD dwErr = GetLastError();
ShowOutput("AvSetMmThreadCharacteristics failed: last error = %u\n", dwErr);
pAudioCaptureClient->Release();
- //CloseHandle(hWakeUp);
pAudioClient->Release();
return HRESULT_FROM_WIN32(dwErr);
}
@@ -370,7 +368,7 @@ HRESULT propagateBufferOnce() {
// this should also...umm...detect the timeout stuff and fake fill?
- // grab a chunk...
+ // grab next audio chunk...
int gotAnyAtAll = FALSE;
DWORD start_time = timeGetTime();
while (!shouldStop) {
@@ -385,7 +383,9 @@ HRESULT propagateBufferOnce() {
return hr;
}
+
if (0 == nNextPacketSize) {
+ ShowOutput("0 size");
// no data yet, we're either waiting between incoming chunks, or...no sound is being played on the computer currently <sigh>...
// maybe I don't really...need to worry about this in the end, once I can figure out the timing stuffs? <sniff>
@@ -414,7 +414,7 @@ HRESULT propagateBufferOnce() {
} else {
gotAnyAtAll = TRUE;
}
-
+
// get the captured data
BYTE *pData;
UINT32 nNumFramesToRead;
Please sign in to comment.
Something went wrong with that request. Please try again.