2dxAutoClip-AppLbHelper/README.md

37 lines
1.9 KiB
Markdown
Raw Normal View History

2024-12-15 17:37:20 +01:00
# 2dxAutoClip-AppLbHelper
2024-12-15 17:43:32 +01:00
Application loopback audio executable. ships with main 2dxAutoClip program
To use this helper application in standalone mode, obtain the process ID for the process tree you wish to capture or exclude from capture. You can use Task Manager or the tlist program to get this ID. Run the app with the process ID, the desired capture mode (including the process tree or excluding it), and the output WAV file.
## Examples:
Capture audio from process 1234 and its children: `ApplicationLoopback 1234 includetree Captured.wav`
Capture audio from all process except process 1234 and its children: `ApplicationLoopback 1234 excludetree Captured.wav`
2024-12-15 17:53:05 +01:00
Note that this application requires **Windows 10 build 20348** or later.
2024-12-15 17:43:32 +01:00
## Files
*ApplicationLoopback.vcproj* This is the main project file for VC++ projects generated using an Application Wizard. It contains information about the version of Visual C++ that generated the file, and information about the platforms, configurations, and project features selected with the Application Wizard.
*ApplicationLoopback.cpp* This is the main application source file. It parses the command line and instantiates a CLoopbackCapture object which actually performs the capturing.
*LoopbackCapture.cpp/LoopbackCapture.h* Implementation of a class which uses the WASAPI APIs to capture audio from a process using ActivateAudioInterfaceAsync.
*Common.h* Helper for implementing IMFAsyncCallback.
## Steps to build the helper application using the command prompt:
1. Open the Command Prompt window and navigate to the directory.
2. Type `msbuild [Solution Filename]`
2024-12-15 17:57:33 +01:00
## Steps to build the helper application using Visual Studio 2019 (preferred method):
2024-12-15 17:43:32 +01:00
1. Open Windows Explorer and navigate to the directory.
2. Double-click the icon for the .sln (solution) file to open the file in Visual Studio.
2024-12-15 17:57:33 +01:00
3. In the Build menu, select Build Solution. The application will be built in the default `\Debug` or `\Release` directory
2024-12-15 17:43:32 +01:00