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
PaUtilConverter * inputConverter
PaUtilZeroer * inputZeroer
unsigned int outputChannelCount
unsigned int bytesPerHostOutputSample
unsigned int bytesPerUserOutputSample
int userOutputIsInterleaved
PaUtilConverter * outputConverter
PaUtilZeroer * outputZeroer
unsigned long initialFramesInTempInputBuffer
unsigned long initialFramesInTempOutputBuffer
void * tempInputBuffer
void ** tempInputBufferPtrs
unsigned long framesInTempInputBuffer
void * tempOutputBuffer
void ** tempOutputBufferPtrs
unsigned long framesInTempOutputBuffer
PaStreamCallbackTimeInfo * timeInfo
PaStreamCallbackFlags callbackStatusFlags
unsigned long hostInputFrameCount [2]
PaUtilChannelDescriptor * hostInputChannels [2]
unsigned long hostOutputFrameCount [2]
PaUtilChannelDescriptor * hostOutputChannels [2]
PaUtilTriangularDitherGenerator ditherGenerator
double samplePeriod
PaStreamCallback * streamCallback
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