pa_mac_core_utilities.c File Reference

#include "pa_mac_core_utilities.h"

Functions

PaError PaMacCore_SetUnixError (int err, int line)
PaError PaMacCore_SetError (OSStatus error, int line, int isError)
long computeRingBufferSize (const PaStreamParameters *inputParameters, const PaStreamParameters *outputParameters, long inputFramesPerBuffer, long outputFramesPerBuffer, double sampleRate)
OSStatus propertyProc (AudioDeviceID inDevice, UInt32 inChannel, Boolean isInput, AudioDevicePropertyID inPropertyID, void *inClientData)
PaError AudioDeviceSetPropertyNowAndWaitForChange (AudioDeviceID inDevice, UInt32 inChannel, Boolean isInput, AudioDevicePropertyID inPropertyID, UInt32 inPropertyDataSize, const void *inPropertyData, void *outPropertyData)
PaError setBestSampleRateForDevice (const AudioDeviceID device, const bool isOutput, const bool requireExact, const Float64 desiredSrate)
PaError setBestFramesPerBuffer (const AudioDeviceID device, const bool isOutput, UInt32 requestedFramesPerBuffer, UInt32 *actualFramesPerBuffer)

Detailed Description


Function Documentation

PaError AudioDeviceSetPropertyNowAndWaitForChange ( AudioDeviceID  inDevice,
UInt32  inChannel,
Boolean  isInput,
AudioDevicePropertyID  inPropertyID,
UInt32  inPropertyDataSize,
const void *  inPropertyData,
void *  outPropertyData 
)

long computeRingBufferSize ( const PaStreamParameters inputParameters,
const PaStreamParameters outputParameters,
long  inputFramesPerBuffer,
long  outputFramesPerBuffer,
double  sampleRate 
)

PaError PaMacCore_SetError ( OSStatus  error,
int  line,
int  isError 
)

PaError PaMacCore_SetUnixError ( int  err,
int  line 
)

OSStatus propertyProc ( AudioDeviceID  inDevice,
UInt32  inChannel,
Boolean  isInput,
AudioDevicePropertyID  inPropertyID,
void *  inClientData 
)

PaError setBestFramesPerBuffer ( const AudioDeviceID  device,
const bool  isOutput,
UInt32  requestedFramesPerBuffer,
UInt32 *  actualFramesPerBuffer 
)

PaError setBestSampleRateForDevice ( const AudioDeviceID  device,
const bool  isOutput,
const bool  requireExact,
const Float64  desiredSrate 
)


Generated on Sat Mar 28 01:15:23 2009 for PortAudio by  doxygen 1.5.1