1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-10 06:37:06 +01:00

Regenerate and reapply WASAPI loopback patch

This commit is contained in:
Leland Lucius
2016-03-08 02:00:05 -06:00
parent 2ab02e084e
commit 6056618220
3 changed files with 175 additions and 27 deletions

View File

@@ -319,6 +319,16 @@ int PaWasapi_GetDeviceDefaultFormat( void *pFormat, unsigned int nFormatSize, Pa
int/*PaWasapiDeviceRole*/ PaWasapi_GetDeviceRole( PaDeviceIndex nDevice );
/** Returns device loopback indicator.
@param nDevice device index.
@return 0 = Not loopback, 1 = loopback, < 0 = PaErrorCode
if PortAudio is not initialized or an error is encountered.
*/
int PaWasapi_IsLoopback( PaDeviceIndex nDevice );
/** Boost thread priority of calling thread (MMCSS). Use it for Blocking Interface only for thread
which makes calls to Pa_WriteStream/Pa_ReadStream.