1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

Add EXPERIMENTAL_FULL_WASAPI for playing around with all WASAPI devices.

This commit is contained in:
lllucius 2013-11-09 08:22:59 +00:00
parent 1417cb34e2
commit 07dc22a5fc
2 changed files with 5 additions and 0 deletions

View File

@ -288,8 +288,10 @@ void DeviceManager::Rescan()
if (info->maxInputChannels > 0) {
#ifdef __WXMSW__
#if !defined(EXPERIMENTAL_FULL_WASAPI)
if (Pa_GetHostApiInfo(info->hostApi)->type != paWASAPI ||
PaWasapi_IsLoopback(i) > 0)
#endif
#endif
AddSources(i, info->defaultSampleRate, &mInputDeviceSourceMaps, 1);
}

View File

@ -30,6 +30,9 @@
#ifndef __EXPERIMENTAL__
#define __EXPERIMENTAL__
// LLL, 09 Nov 2013:
// Allow all WASAPI devices, not just loopback
#define EXPERIMENTAL_FULL_WASAPI
// JKC (effect by Norm C, 02 Oct 2013)
#define EXPERIMENTAL_SCIENCE_FILTERS