PortAudio  2.0
Data Structures | Macros | Functions
pa_mac_core_blocking.h File Reference
#include "pa_ringbuffer.h"
#include "portaudio.h"
#include "pa_mac_core_utilities.h"

Go to the source code of this file.

Data Structures

struct  PaMacBlio
 

Macros

#define PA_MAC_BLIO_BUSY_WAIT_SLEEP_INTERVAL   (5)
 
#define PA_MAC_BLIO_BUSY_WAIT
 

Functions

PaError initializeBlioRingBuffers (PaMacBlio *blio, PaSampleFormat inputSampleFormat, PaSampleFormat outputSampleFormat, long ringBufferSizeInFrames, int inChan, int outChan)
 
PaError destroyBlioRingBuffers (PaMacBlio *blio)
 
PaError resetBlioRingBuffers (PaMacBlio *blio)
 
int BlioCallback (const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData)
 
PaError waitUntilBlioWriteBufferIsEmpty (PaMacBlio *blio, double sampleRate, size_t framesPerBuffer)
 

Macro Definition Documentation

#define PA_MAC_BLIO_BUSY_WAIT
#define PA_MAC_BLIO_BUSY_WAIT_SLEEP_INTERVAL   (5)

Referenced by ReadStream(), and WriteStream().

Function Documentation

int BlioCallback ( const void *  input,
void *  output,
unsigned long  frameCount,
const PaStreamCallbackTimeInfo timeInfo,
PaStreamCallbackFlags  statusFlags,
void *  userData 
)
PaError destroyBlioRingBuffers ( PaMacBlio blio)
PaError initializeBlioRingBuffers ( PaMacBlio blio,
PaSampleFormat  inputSampleFormat,
PaSampleFormat  outputSampleFormat,
long  ringBufferSizeInFrames,
int  inChan,
int  outChan 
)
PaError resetBlioRingBuffers ( PaMacBlio blio)
PaError waitUntilBlioWriteBufferIsEmpty ( PaMacBlio blio,
double  sampleRate,
size_t  framesPerBuffer 
)