mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Add EXPERIMENTAL_FULL_WASAPI for playing around with all WASAPI devices.
This commit is contained in:
parent
1417cb34e2
commit
07dc22a5fc
@ -288,8 +288,10 @@ void DeviceManager::Rescan()
|
|||||||
|
|
||||||
if (info->maxInputChannels > 0) {
|
if (info->maxInputChannels > 0) {
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
#if !defined(EXPERIMENTAL_FULL_WASAPI)
|
||||||
if (Pa_GetHostApiInfo(info->hostApi)->type != paWASAPI ||
|
if (Pa_GetHostApiInfo(info->hostApi)->type != paWASAPI ||
|
||||||
PaWasapi_IsLoopback(i) > 0)
|
PaWasapi_IsLoopback(i) > 0)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
AddSources(i, info->defaultSampleRate, &mInputDeviceSourceMaps, 1);
|
AddSources(i, info->defaultSampleRate, &mInputDeviceSourceMaps, 1);
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,9 @@
|
|||||||
#ifndef __EXPERIMENTAL__
|
#ifndef __EXPERIMENTAL__
|
||||||
#define __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)
|
// JKC (effect by Norm C, 02 Oct 2013)
|
||||||
#define EXPERIMENTAL_SCIENCE_FILTERS
|
#define EXPERIMENTAL_SCIENCE_FILTERS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user