PortAudio 2.0
PaWasapiStreamInfo Struct Reference

#include <pa_win_wasapi.h>

Data Fields

unsigned long size
 
PaHostApiTypeId hostApiType
 
unsigned long version
 
unsigned long flags
 
PaWinWaveFormatChannelMask channelMask
 
PaWasapiHostProcessorCallback hostProcessorOutput
 
PaWasapiHostProcessorCallback hostProcessorInput
 
PaWasapiThreadPriority threadPriority
 
PaWasapiStreamCategory streamCategory
 
PaWasapiStreamOption streamOption
 
PaWasapiStreamPassthrough passthrough
 

Field Documentation

◆ channelMask

PaWinWaveFormatChannelMask PaWasapiStreamInfo::channelMask

Support for WAVEFORMATEXTENSIBLE channel masks. If flags contains paWinWasapiUseChannelMask this allows you to specify which speakers to address in a multichannel stream. Constants for channelMask are specified in pa_win_waveformat.h. Will be used only if paWinWasapiUseChannelMask flag is specified.

Referenced by main().

◆ flags

unsigned long PaWasapiStreamInfo::flags

collection of PaWasapiFlags

Referenced by main().

◆ hostApiType

PaHostApiTypeId PaWasapiStreamInfo::hostApiType

paWASAPI

Referenced by main().

◆ hostProcessorInput

PaWasapiHostProcessorCallback PaWasapiStreamInfo::hostProcessorInput

◆ hostProcessorOutput

PaWasapiHostProcessorCallback PaWasapiStreamInfo::hostProcessorOutput

Delivers raw data to callback obtained from GetBuffer() methods skipping internal PortAudio processing inventory completely. userData parameter will be the same that was passed to Pa_OpenStream method. Will be used only if paWinWasapiRedirectHostProcessor flag is specified.

◆ passthrough

PaWasapiStreamPassthrough PaWasapiStreamInfo::passthrough

Passthrough details.

Note
paWinWasapiPassthrough flag must be specified in PaWasapiStreamInfo::flags to enable Passthrough mode.
See also
paWinWasapiPassthrough
Version
Available as of 19.7.0

Referenced by main().

◆ size

unsigned long PaWasapiStreamInfo::size

sizeof(PaWasapiStreamInfo)

Referenced by main().

◆ streamCategory

PaWasapiStreamCategory PaWasapiStreamInfo::streamCategory

Stream category.

See also
PaWasapiStreamCategory
Version
Available as of 19.6.0

◆ streamOption

PaWasapiStreamOption PaWasapiStreamInfo::streamOption

Stream option.

See also
PaWasapiStreamOption
Version
Available as of 19.6.0

◆ threadPriority

PaWasapiThreadPriority PaWasapiStreamInfo::threadPriority

Specifies thread priority explicitly. Will be used only if paWinWasapiThreadPriority flag is specified.

Please note, if Input/Output streams are opened simultaneously (Full-Duplex mode) you shall specify same value for threadPriority or othervise one of the values will be used to setup thread priority.

◆ version

unsigned long PaWasapiStreamInfo::version

1

Referenced by main().


The documentation for this struct was generated from the following file: