PortAudio
2.0
|
#include <CoreAudio/CoreAudio.h>
#include <CoreServices/CoreServices.h>
#include <AudioUnit/AudioUnit.h>
#include <AudioToolbox/AudioToolbox.h>
#include "portaudio.h"
#include "pa_util.h"
#include "pa_hostapi.h"
#include "pa_stream.h"
#include "pa_allocation.h"
#include "pa_cpuload.h"
#include "pa_process.h"
#include "pa_ringbuffer.h"
#include "pa_mac_core_blocking.h"
Go to the source code of this file.
Data Structures | |
struct | PaMacAUHAL |
struct | PaMacCoreDeviceProperties |
struct | PaMacCoreStream |
Macros | |
#define | RING_BUFFER_ADVANCE_DENOMINATOR (4) |
Typedefs | |
typedef struct PaMacCoreDeviceProperties | PaMacCoreDeviceProperties |
typedef struct PaMacCoreStream | PaMacCoreStream |
Functions | |
PaError | PaMacCore_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
PaError | ReadStream (PaStream *stream, void *buffer, unsigned long frames) |
PaError | WriteStream (PaStream *stream, const void *buffer, unsigned long frames) |
signed long | GetStreamReadAvailable (PaStream *stream) |
signed long | GetStreamWriteAvailable (PaStream *stream) |
#define RING_BUFFER_ADVANCE_DENOMINATOR (4) |
typedef struct PaMacCoreDeviceProperties PaMacCoreDeviceProperties |
typedef struct PaMacCoreStream PaMacCoreStream |
signed long GetStreamReadAvailable | ( | PaStream * | stream | ) |
References GetStreamReadAvailable(), PaMacBlio::inputRingBuffer, PaUtil_GetRingBufferReadAvailable(), and VVDBUG.
Referenced by GetStreamReadAvailable(), PaMacCore_Initialize(), PaOSS_Initialize(), PaSkeleton_Initialize(), PaWasapi_Initialize(), PaWinDs_Initialize(), PaWinMme_Initialize(), and PaWinWdm_Initialize().
signed long GetStreamWriteAvailable | ( | PaStream * | stream | ) |
References GetStreamWriteAvailable(), PaMacBlio::outputRingBuffer, PaUtil_GetRingBufferWriteAvailable(), and VVDBUG.
Referenced by GetStreamWriteAvailable(), PaMacCore_Initialize(), PaOSS_Initialize(), PaSkeleton_Initialize(), PaWasapi_Initialize(), PaWinDs_Initialize(), PaWinMme_Initialize(), and PaWinWdm_Initialize().
PaError PaMacCore_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, |
PaHostApiIndex | index | ||
) |
References PaMacBlio::inChan, PaMacBlio::inputRingBuffer, PaMacBlio::inputSampleSizeActual, MIN, PA_MAC_BLIO_BUSY_WAIT_SLEEP_INTERVAL, Pa_Sleep(), paInputOverflow, paInputOverflowed, paNoError, PaUtil_GetRingBufferReadAvailable(), PaUtil_ReadRingBuffer(), ReadStream(), PaMacBlio::statusFlags, UNIX_ERR, and VVDBUG.
Referenced by PaMacCore_Initialize(), PaOSS_Initialize(), PaSkeleton_Initialize(), PaWasapi_Initialize(), PaWinDs_Initialize(), PaWinMme_Initialize(), PaWinWdm_Initialize(), and ReadStream().
References PaMacCoreStream::blio, MIN, PaMacBlio::outChan, PaMacBlio::outputRingBuffer, PaMacBlio::outputSampleSizeActual, PA_MAC_BLIO_BUSY_WAIT_SLEEP_INTERVAL, Pa_Sleep(), paInternalError, paNoError, paOutputUnderflow, paOutputUnderflowed, PaUtil_GetRingBufferWriteAvailable(), PaUtil_WriteRingBuffer(), PaMacCoreStream::state, PaMacBlio::statusFlags, UNIX_ERR, VVDBUG, and WriteStream().
Referenced by PaMacCore_Initialize(), PaOSS_Initialize(), PaSkeleton_Initialize(), PaWasapi_Initialize(), PaWinDs_Initialize(), PaWinMme_Initialize(), PaWinWdm_Initialize(), and WriteStream().