PaUtilBufferProcessor Struct Reference

The main buffer processor data structure. More...

#include <pa_process.h>

Data Fields

unsigned long framesPerUserBuffer
unsigned long framesPerHostBuffer
PaUtilHostBufferSizeMode hostBufferSizeMode
int useNonAdaptingProcess
unsigned long framesPerTempBuffer
unsigned int inputChannelCount
unsigned int bytesPerHostInputSample
unsigned int bytesPerUserInputSample
int userInputIsInterleaved
PaUtilConverterinputConverter
PaUtilZeroerinputZeroer
unsigned int outputChannelCount
unsigned int bytesPerHostOutputSample
unsigned int bytesPerUserOutputSample
int userOutputIsInterleaved
PaUtilConverteroutputConverter
PaUtilZeroeroutputZeroer
unsigned long initialFramesInTempInputBuffer
unsigned long initialFramesInTempOutputBuffer
void * tempInputBuffer
void ** tempInputBufferPtrs
unsigned long framesInTempInputBuffer
void * tempOutputBuffer
void ** tempOutputBufferPtrs
unsigned long framesInTempOutputBuffer
PaStreamCallbackTimeInfotimeInfo
PaStreamCallbackFlags callbackStatusFlags
unsigned long hostInputFrameCount [2]
PaUtilChannelDescriptorhostInputChannels [2]
unsigned long hostOutputFrameCount [2]
PaUtilChannelDescriptorhostOutputChannels [2]
PaUtilTriangularDitherGenerator ditherGenerator
double samplePeriod
PaStreamCallbackstreamCallback
void * userData

Detailed Description

The main buffer processor data structure.

Allocate one of these, initialize it with PaUtil_InitializeBufferProcessor and terminate it with PaUtil_TerminateBufferProcessor.


Field Documentation

frames remaining in input buffer from previous adaption iteration

Referenced by PaUtil_BeginBufferProcessing(), PaUtil_InitializeBufferProcessor(), and PaUtil_ResetBufferProcessor().

frames remaining in input buffer from previous adaption iteration

Referenced by PaUtil_BeginBufferProcessing(), PaUtil_InitializeBufferProcessor(), PaUtil_IsBufferProcessorOutputEmpty(), and PaUtil_ResetBufferProcessor().

pointers to arrays of channel descriptors. pointers are NULL for half-duplex input processing. hostOutputChannels[i].data is NULL when the caller calls PaUtil_SetNoOutput()

Referenced by PaUtil_CopyOutput(), PaUtil_EndBufferProcessing(), PaUtil_InitializeBufferProcessor(), PaUtil_Set2ndOutputChannel(), PaUtil_SetNoOutput(), PaUtil_SetOutputChannel(), PaUtil_TerminateBufferProcessor(), and PaUtil_ZeroOutput().

used for slips, block adaption, and conversion.

Referenced by PaUtil_InitializeBufferProcessor(), PaUtil_ResetBufferProcessor(), and PaUtil_TerminateBufferProcessor().

storage for non-interleaved buffer pointers, NULL for interleaved user input

Referenced by PaUtil_InitializeBufferProcessor(), and PaUtil_TerminateBufferProcessor().

used for slips, block adaption, and conversion.

Referenced by PaUtil_InitializeBufferProcessor(), PaUtil_ResetBufferProcessor(), and PaUtil_TerminateBufferProcessor().

storage for non-interleaved buffer pointers, NULL for interleaved user output

Referenced by PaUtil_InitializeBufferProcessor(), and PaUtil_TerminateBufferProcessor().


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

Generated for PortAudio by  doxygen1.6.1