1 #ifndef PA_WIN_WASAPI_H
2 #define PA_WIN_WASAPI_H
90 #define paWinWasapiExclusive (paWinWasapiExclusive)
91 #define paWinWasapiRedirectHostProcessor (paWinWasapiRedirectHostProcessor)
92 #define paWinWasapiUseChannelMask (paWinWasapiUseChannelMask)
93 #define paWinWasapiPolling (paWinWasapiPolling)
94 #define paWinWasapiThreadPriority (paWinWasapiThreadPriority)
95 #define paWinWasapiExplicitSampleFormat (paWinWasapiExplicitSampleFormat)
96 #define paWinWasapiAutoConvert (paWinWasapiAutoConvert)
124 #define paWasapiStreamStateError (paWasapiStreamStateError)
125 #define paWasapiStreamStateThreadPrepare (paWasapiStreamStateThreadPrepare)
126 #define paWasapiStreamStateThreadStart (paWasapiStreamStateThreadStart)
127 #define paWasapiStreamStateThreadStop (paWasapiStreamStateThreadStop)
140 void *outputBuffer,
long outputFrames,
void *userData);
153 unsigned int errorId,
void *pUserData);
PaWasapiJackGenLocation
Definition: pa_win_wasapi.h:217
PaWasapiHostProcessorCallback hostProcessorInput
Definition: pa_win_wasapi.h:330
Default for Shared mode.
Definition: pa_win_wasapi.h:242
Definition: pa_win_wasapi.h:219
Definition: pa_win_wasapi.h:180
Definition: pa_win_wasapi.h:285
Definition: pa_win_wasapi.h:164
Definition: pa_win_wasapi.h:205
Definition: pa_win_wasapi.h:203
PaWasapiThreadPriority
Definition: pa_win_wasapi.h:239
PaError PaWasapi_GetFramesPerHostBuffer(PaStream *pStream, unsigned int *pInput, unsigned int *pOutput)
Definition: pa_win_wasapi.c:2613
PaError PaWasapi_SetStreamStateHandler(PaStream *pStream, PaWasapiStreamStateCallback fnStateHandler, void *pUserData)
Definition: pa_win_wasapi.c:5553
PaWasapiHostProcessorCallback hostProcessorOutput
Definition: pa_win_wasapi.h:329
PaWasapiDeviceRole
Definition: pa_win_wasapi.h:157
Definition: pa_win_wasapi.h:284
Definition: pa_win_wasapi.h:209
Definition: pa_win_wasapi.h:206
#define paWinWasapiUseChannelMask
Definition: pa_win_wasapi.h:92
Definition: pa_win_wasapi.h:281
Definition: pa_win_wasapi.h:221
PaError PaWasapi_ThreadPriorityBoost(void **pTask, PaWasapiThreadPriority priorityClass)
Definition: pa_win_wasapi.c:5112
Definition: pa_win_wasapi.h:160
Definition: pa_win_wasapi.h:182
Definition: pa_win_wasapi.h:184
#define paWasapiStreamStateThreadPrepare
Definition: pa_win_wasapi.h:125
bypass WASAPI Audio Engine DSP effects, supported since Windows 8.1
Definition: pa_win_wasapi.h:301
Definition: pa_win_wasapi.h:159
void PaStream
Definition: portaudio.h:635
Definition: pa_win_wasapi.h:200
PaWasapiFlags
Definition: pa_win_wasapi.h:58
PaWasapiJackGenLocation genLocation
Definition: pa_win_wasapi.h:260
int PaWasapi_GetDeviceDefaultFormat(void *pFormat, unsigned int formatSize, PaDeviceIndex device)
Definition: pa_win_wasapi.c:2524
Definition: pa_win_wasapi.h:245
Definition: pa_win_wasapi.h:199
unsigned long flags
Definition: pa_win_wasapi.h:314
Definition: pa_win_wasapi.h:211
PaWasapiJackPortConnection portConnection
Definition: pa_win_wasapi.h:261
PaError PaWasapi_GetJackCount(PaDeviceIndex device, int *pJackCount)
Definition: pa_win_wasapi.c:5173
Definition: pa_win_wasapi.h:163
Definition: pa_win_wasapi.h:179
Definition: pa_win_wasapi.h:241
#define paWinWasapiRedirectHostProcessor
Definition: pa_win_wasapi.h:91
PaWasapiStreamCategory streamCategory
Definition: pa_win_wasapi.h:345
#define paWinWasapiThreadPriority
Definition: pa_win_wasapi.h:94
PaWasapiThreadPriority threadPriority
Definition: pa_win_wasapi.h:339
Definition: pa_win_wasapi.h:210
Definition: pa_win_wasapi.h:230
Definition: pa_win_wasapi.h:278
Definition: pa_win_wasapi.h:201
Definition: pa_win_wasapi.h:246
PaError PaWasapi_GetAudioClient(PaStream *pStream, void **pAudioClient, int bOutput)
Definition: pa_win_wasapi.c:5436
Definition: pa_win_wasapi.h:198
Definition: pa_win_wasapi.h:233
void(* PaWasapiStreamStateCallback)(PaStream *pStream, unsigned int stateFlags, unsigned int errorId, void *pUserData)
Definition: pa_win_wasapi.h:152
unsigned long color
Definition: pa_win_wasapi.h:257
Definition: pa_win_wasapi.h:188
unsigned int isConnected
Definition: pa_win_wasapi.h:262
int PaDeviceIndex
Definition: portaudio.h:212
Definition: pa_win_wasapi.h:204
Default for Exclusive mode.
Definition: pa_win_wasapi.h:247
force WASAPI Audio Engine into a stream format, supported since Windows 10
Definition: pa_win_wasapi.h:302
Definition: pa_win_wasapi.h:232
PaWasapiJackConnectionType connectionType
Definition: pa_win_wasapi.h:258
Definition: pa_win_wasapi.h:207
Definition: pa_win_wasapi.h:185
Definition: pa_win_wasapi.h:197
The portable PortAudio API.
unsigned long size
Definition: pa_win_wasapi.h:310
#define paWinWasapiExplicitSampleFormat
Definition: pa_win_wasapi.h:95
void(* PaWasapiHostProcessorCallback)(void *inputBuffer, long inputFrames, void *outputBuffer, long outputFrames, void *userData)
Definition: pa_win_wasapi.h:139
Definition: pa_win_wasapi.h:181
PaError PaWasapi_UpdateDeviceList()
Definition: pa_win_wasapi.h:168
PaError PaWasapi_GetJackDescription(PaDeviceIndex device, int jackIndex, PaWasapiJackDescription *pJackDescription)
Definition: pa_win_wasapi.c:5348
PaHostApiTypeId hostApiType
Definition: pa_win_wasapi.h:311
#define paWinWasapiExclusive
Definition: pa_win_wasapi.h:90
PaWinWaveFormatChannelMask channelMask
Definition: pa_win_wasapi.h:322
#define paWasapiStreamStateThreadStart
Definition: pa_win_wasapi.h:126
Definition: pa_win_wasapi.h:169
Definition: pa_win_wasapi.h:254
int PaError
Definition: portaudio.h:121
Definition: pa_win_wasapi.h:162
PaHostApiTypeId
Definition: portaudio.h:275
Definition: pa_win_wasapi.h:283
Definition: pa_win_wasapi.h:183
int PaWasapi_GetDeviceMixFormat(void *pFormat, unsigned int formatSize, PaDeviceIndex device)
Definition: pa_win_wasapi.c:2557
PaWasapiJackPortConnection
Definition: pa_win_wasapi.h:228
Definition: pa_win_wasapi.h:277
PaError PaWasapiWinrt_SetDefaultDeviceId(const unsigned short *pId, int bOutput)
Definition: pa_win_wasapi.c:5468
Definition: pa_win_wasapi.h:186
Definition: pa_win_wasapi.h:243
unsigned long version
Definition: pa_win_wasapi.h:312
Definition: pa_win_wasapi.h:220
Definition: pa_win_wasapi.h:196
PaWasapiStreamCategory
Definition: pa_win_wasapi.h:275
PaWasapiJackConnectionType
Definition: pa_win_wasapi.h:175
struct PaWasapiJackDescription PaWasapiJackDescription
Definition: pa_win_wasapi.h:166
Definition: pa_win_wasapi.h:222
Definition: pa_win_wasapi.h:282
Definition: pa_win_wasapi.h:161
PaWasapiStreamOption
Definition: pa_win_wasapi.h:298
#define paWasapiStreamStateThreadStop
Definition: pa_win_wasapi.h:127
Definition: pa_win_wasapi.h:167
Definition: pa_win_wasapi.h:208
PaWasapiJackGeoLocation
Definition: pa_win_wasapi.h:194
PaError PaWasapi_ThreadPriorityRevert(void *pTask)
Definition: pa_win_wasapi.c:5153
Definition: pa_win_wasapi.h:178
PaWasapiStreamState
Definition: pa_win_wasapi.h:104
PaWasapiJackGeoLocation geoLocation
Definition: pa_win_wasapi.h:259
Definition: pa_win_wasapi.h:248
Definition: pa_win_wasapi.h:231
int PaWasapi_GetDeviceCurrentFormat(PaStream *pStream, void *pFormat, unsigned int formatSize, int bOutput)
Definition: pa_win_wasapi.c:2506
#define paWinWasapiPolling
Definition: pa_win_wasapi.h:93
Definition: pa_win_wasapi.h:202
#define paWasapiStreamStateError
Definition: pa_win_wasapi.h:124
Definition: pa_win_wasapi.h:280
Definition: pa_win_wasapi.h:308
#define paWinWasapiAutoConvert
Definition: pa_win_wasapi.h:96
Definition: pa_win_wasapi.h:187
PaError PaWasapiWinrt_PopulateDeviceList(const unsigned short **pId, const unsigned short **pName, const PaWasapiDeviceRole *pRole, unsigned int count, int bOutput)
Definition: pa_win_wasapi.c:5496
Definition: pa_win_wasapi.h:177
PaWasapiStreamOption streamOption
Definition: pa_win_wasapi.h:351
int PaWasapi_GetDeviceRole(PaDeviceIndex device)
Definition: pa_win_wasapi.c:2590
Definition: pa_win_wasapi.h:165
Definition: pa_win_wasapi.h:279
default
Definition: pa_win_wasapi.h:300
Definition: pa_win_wasapi.h:286
struct PaWasapiStreamInfo PaWasapiStreamInfo
Definition: pa_win_wasapi.h:244
unsigned long channelMapping
Definition: pa_win_wasapi.h:256