Application loopback audio executable. ships with main 2dxAutoClip program
Go to file
2024-12-15 17:43:45 +01:00
packages/Microsoft.Windows.ImplementationLibrary.1.0.210204.1 Initial Commit 2024-12-15 17:40:21 +01:00
.gitignore Initial Commit 2024-12-15 17:40:21 +01:00
ApplicationLoopback.cpp Initial Commit 2024-12-15 17:40:21 +01:00
ApplicationLoopback.sln Initial Commit 2024-12-15 17:40:21 +01:00
ApplicationLoopback.vcxproj Initial Commit 2024-12-15 17:40:21 +01:00
ApplicationLoopback.vcxproj.filters Initial Commit 2024-12-15 17:40:21 +01:00
ApplicationLoopback.vcxproj.user Initial Commit 2024-12-15 17:40:21 +01:00
Common.h Initial Commit 2024-12-15 17:40:21 +01:00
LoopbackCapture.cpp Initial Commit 2024-12-15 17:40:21 +01:00
LoopbackCapture.h Initial Commit 2024-12-15 17:40:21 +01:00
packages.config Initial Commit 2024-12-15 17:40:21 +01:00
README.md Readme 2024-12-15 17:43:32 +01:00

2dxAutoClip-AppLbHelper

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

Note that this sample requires Windows 10 build 20348 or later.

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]

Steps to build the sample using Visual Studio 2019 (preferred method):

  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.
  3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory