1 #ifndef PA_WIN_WASAPI_H
2 #define PA_WIN_WASAPI_H
93 #define paWinWasapiExclusive (paWinWasapiExclusive)
94 #define paWinWasapiRedirectHostProcessor (paWinWasapiRedirectHostProcessor)
95 #define paWinWasapiUseChannelMask (paWinWasapiUseChannelMask)
96 #define paWinWasapiPolling (paWinWasapiPolling)
97 #define paWinWasapiThreadPriority (paWinWasapiThreadPriority)
98 #define paWinWasapiExplicitSampleFormat (paWinWasapiExplicitSampleFormat)
99 #define paWinWasapiAutoConvert (paWinWasapiAutoConvert)
100 #define paWinWasapiPassthrough (paWinWasapiPassthrough)
128 #define paWasapiStreamStateError (paWasapiStreamStateError)
129 #define paWasapiStreamStateThreadPrepare (paWasapiStreamStateThreadPrepare)
130 #define paWasapiStreamStateThreadStart (paWasapiStreamStateThreadStart)
131 #define paWasapiStreamStateThreadStop (paWasapiStreamStateThreadStop)
144 void *outputBuffer,
long outputFrames,
void *userData);
157 unsigned int errorId,
void *pUserData);
PaWasapiJackGenLocation
Definition: pa_win_wasapi.h:221
PaWasapiHostProcessorCallback hostProcessorInput
Definition: pa_win_wasapi.h:389
Default for Shared mode.
Definition: pa_win_wasapi.h:246
Definition: pa_win_wasapi.h:223
Definition: pa_win_wasapi.h:184
Definition: pa_win_wasapi.h:289
Definition: pa_win_wasapi.h:168
Definition: pa_win_wasapi.h:340
Definition: pa_win_wasapi.h:209
Definition: pa_win_wasapi.h:207
PaWasapiThreadPriority
Definition: pa_win_wasapi.h:243
PaError PaWasapi_GetFramesPerHostBuffer(PaStream *pStream, unsigned int *pInput, unsigned int *pOutput)
Definition: pa_win_wasapi.c:2672
PaError PaWasapi_SetStreamStateHandler(PaStream *pStream, PaWasapiStreamStateCallback fnStateHandler, void *pUserData)
Definition: pa_win_wasapi.c:5664
PaWasapiHostProcessorCallback hostProcessorOutput
Definition: pa_win_wasapi.h:388
Definition: pa_win_wasapi.h:330
PaWasapiDeviceRole
Definition: pa_win_wasapi.h:161
Definition: pa_win_wasapi.h:288
Definition: pa_win_wasapi.h:213
Definition: pa_win_wasapi.h:210
Definition: pa_win_wasapi.h:327
Definition: pa_win_wasapi.h:332
#define paWinWasapiUseChannelMask
Definition: pa_win_wasapi.h:95
Definition: pa_win_wasapi.h:285
Definition: pa_win_wasapi.h:225
PaError PaWasapi_ThreadPriorityBoost(void **pTask, PaWasapiThreadPriority priorityClass)
Definition: pa_win_wasapi.c:5243
Definition: pa_win_wasapi.h:164
int PaWasapi_IsLoopback(PaDeviceIndex device)
Definition: pa_win_wasapi.c:2649
Definition: pa_win_wasapi.h:186
Definition: pa_win_wasapi.h:188
#define paWasapiStreamStateThreadPrepare
Definition: pa_win_wasapi.h:129
bypass WASAPI Audio Engine DSP effects, supported since Windows 8.1
Definition: pa_win_wasapi.h:305
Definition: pa_win_wasapi.h:163
void PaStream
Definition: portaudio.h:644
Definition: pa_win_wasapi.h:204
PaWasapiFlags
Definition: pa_win_wasapi.h:58
PaWasapiJackGenLocation genLocation
Definition: pa_win_wasapi.h:264
PaError PaWasapi_GetIMMDevice(PaDeviceIndex device, void **pIMMDevice)
Definition: pa_win_wasapi.c:2626
int PaWasapi_GetDeviceDefaultFormat(void *pFormat, unsigned int formatSize, PaDeviceIndex device)
Definition: pa_win_wasapi.c:2572
Definition: pa_win_wasapi.h:249
Definition: pa_win_wasapi.h:203
unsigned long flags
Definition: pa_win_wasapi.h:373
Definition: pa_win_wasapi.h:215
PaWasapiJackPortConnection portConnection
Definition: pa_win_wasapi.h:265
Definition: pa_win_wasapi.h:324
PaError PaWasapi_GetJackCount(PaDeviceIndex device, int *pJackCount)
Definition: pa_win_wasapi.c:5304
Definition: pa_win_wasapi.h:167
Definition: pa_win_wasapi.h:183
Definition: pa_win_wasapi.h:245
#define paWinWasapiRedirectHostProcessor
Definition: pa_win_wasapi.h:94
PaWasapiStreamCategory streamCategory
Definition: pa_win_wasapi.h:404
#define paWinWasapiThreadPriority
Definition: pa_win_wasapi.h:97
PaWasapiThreadPriority threadPriority
Definition: pa_win_wasapi.h:398
Definition: pa_win_wasapi.h:214
Definition: pa_win_wasapi.h:234
Definition: pa_win_wasapi.h:282
PaWasapiStreamPassthrough passthrough
Definition: pa_win_wasapi.h:417
Definition: pa_win_wasapi.h:205
Definition: pa_win_wasapi.h:250
PaError PaWasapi_GetAudioClient(PaStream *pStream, void **pAudioClient, int bOutput)
Definition: pa_win_wasapi.c:5547
Definition: pa_win_wasapi.h:202
Definition: pa_win_wasapi.h:237
void(* PaWasapiStreamStateCallback)(PaStream *pStream, unsigned int stateFlags, unsigned int errorId, void *pUserData)
Definition: pa_win_wasapi.h:156
unsigned long color
Definition: pa_win_wasapi.h:261
Definition: pa_win_wasapi.h:192
unsigned int isConnected
Definition: pa_win_wasapi.h:266
int PaDeviceIndex
Definition: portaudio.h:214
Definition: pa_win_wasapi.h:208
Default for Exclusive mode.
Definition: pa_win_wasapi.h:251
force WASAPI Audio Engine into a stream format, supported since Windows 10
Definition: pa_win_wasapi.h:306
Definition: pa_win_wasapi.h:236
PaWasapiJackConnectionType connectionType
Definition: pa_win_wasapi.h:262
Definition: pa_win_wasapi.h:211
Definition: pa_win_wasapi.h:189
Definition: pa_win_wasapi.h:335
Definition: pa_win_wasapi.h:201
Definition: pa_win_wasapi.h:356
The portable PortAudio API.
unsigned long size
Definition: pa_win_wasapi.h:369
Definition: pa_win_wasapi.h:326
#define paWinWasapiExplicitSampleFormat
Definition: pa_win_wasapi.h:98
void(* PaWasapiHostProcessorCallback)(void *inputBuffer, long inputFrames, void *outputBuffer, long outputFrames, void *userData)
Definition: pa_win_wasapi.h:143
Definition: pa_win_wasapi.h:185
Definition: pa_win_wasapi.h:322
PaError PaWasapi_UpdateDeviceList()
Definition: pa_win_wasapi.c:2520
Definition: pa_win_wasapi.h:172
Definition: pa_win_wasapi.h:337
PaError PaWasapi_GetJackDescription(PaDeviceIndex device, int jackIndex, PaWasapiJackDescription *pJackDescription)
Definition: pa_win_wasapi.c:5469
PaWasapiPassthroughFormat
Definition: pa_win_wasapi.h:320
unsigned int averageBytesPerSec
Definition: pa_win_wasapi.h:361
unsigned int encodedSamplesPerSec
Definition: pa_win_wasapi.h:359
Definition: pa_win_wasapi.h:328
PaHostApiTypeId hostApiType
Definition: pa_win_wasapi.h:370
Definition: pa_win_wasapi.h:329
#define paWinWasapiExclusive
Definition: pa_win_wasapi.h:93
PaWinWaveFormatChannelMask channelMask
Definition: pa_win_wasapi.h:381
#define paWasapiStreamStateThreadStart
Definition: pa_win_wasapi.h:130
Definition: pa_win_wasapi.h:173
Definition: pa_win_wasapi.h:325
Definition: pa_win_wasapi.h:258
int PaError
Definition: portaudio.h:122
Definition: pa_win_wasapi.h:166
PaHostApiTypeId
Definition: portaudio.h:277
Definition: pa_win_wasapi.h:287
Definition: pa_win_wasapi.h:187
int PaWasapi_GetDeviceMixFormat(void *pFormat, unsigned int formatSize, PaDeviceIndex device)
Definition: pa_win_wasapi.c:2593
PaWasapiJackPortConnection
Definition: pa_win_wasapi.h:232
Definition: pa_win_wasapi.h:281
PaError PaWasapiWinrt_SetDefaultDeviceId(const unsigned short *pId, int bOutput)
Definition: pa_win_wasapi.c:5579
Definition: pa_win_wasapi.h:190
Definition: pa_win_wasapi.h:247
unsigned long version
Definition: pa_win_wasapi.h:371
Definition: pa_win_wasapi.h:224
Definition: pa_win_wasapi.h:200
PaWasapiStreamCategory
Definition: pa_win_wasapi.h:279
PaWasapiJackConnectionType
Definition: pa_win_wasapi.h:179
struct PaWasapiJackDescription PaWasapiJackDescription
Definition: pa_win_wasapi.h:170
Definition: pa_win_wasapi.h:226
Definition: pa_win_wasapi.h:286
Definition: pa_win_wasapi.h:336
Definition: pa_win_wasapi.h:165
PaWasapiStreamOption
Definition: pa_win_wasapi.h:302
#define paWasapiStreamStateThreadStop
Definition: pa_win_wasapi.h:131
#define paWinWasapiPassthrough
Definition: pa_win_wasapi.h:100
Definition: pa_win_wasapi.h:171
Definition: pa_win_wasapi.h:212
PaWasapiJackGeoLocation
Definition: pa_win_wasapi.h:198
PaError PaWasapi_ThreadPriorityRevert(void *pTask)
Definition: pa_win_wasapi.c:5284
Definition: pa_win_wasapi.h:182
PaWasapiStreamState
Definition: pa_win_wasapi.h:108
PaWasapiJackGeoLocation geoLocation
Definition: pa_win_wasapi.h:263
Definition: pa_win_wasapi.h:252
unsigned int encodedChannelCount
Definition: pa_win_wasapi.h:360
Definition: pa_win_wasapi.h:235
int PaWasapi_GetDeviceCurrentFormat(PaStream *pStream, void *pFormat, unsigned int formatSize, int bOutput)
Definition: pa_win_wasapi.c:2530
#define paWinWasapiPolling
Definition: pa_win_wasapi.h:96
Definition: pa_win_wasapi.h:206
#define paWasapiStreamStateError
Definition: pa_win_wasapi.h:128
Definition: pa_win_wasapi.h:284
Definition: pa_win_wasapi.h:367
PaWasapiPassthroughFormat formatId
Definition: pa_win_wasapi.h:358
#define paWinWasapiAutoConvert
Definition: pa_win_wasapi.h:99
Definition: pa_win_wasapi.h:191
struct PaWasapiStreamPassthrough PaWasapiStreamPassthrough
PaError PaWasapiWinrt_PopulateDeviceList(const unsigned short **pId, const unsigned short **pName, const PaWasapiDeviceRole *pRole, unsigned int count, int bOutput)
Definition: pa_win_wasapi.c:5607
Definition: pa_win_wasapi.h:333
Definition: pa_win_wasapi.h:181
PaWasapiStreamOption streamOption
Definition: pa_win_wasapi.h:410
Definition: pa_win_wasapi.h:334
Definition: pa_win_wasapi.h:338
int PaWasapi_GetDeviceRole(PaDeviceIndex device)
Definition: pa_win_wasapi.c:2614
Definition: pa_win_wasapi.h:169
Definition: pa_win_wasapi.h:283
default
Definition: pa_win_wasapi.h:304
Definition: pa_win_wasapi.h:290
struct PaWasapiStreamInfo PaWasapiStreamInfo
Definition: pa_win_wasapi.h:323
Definition: pa_win_wasapi.h:339
Definition: pa_win_wasapi.h:331
Definition: pa_win_wasapi.h:248
unsigned long channelMapping
Definition: pa_win_wasapi.h:260