48 #include <AudioUnit/AudioUnit.h>
49 #include <AudioToolbox/AudioToolbox.h>
52 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
53 #include <os/workgroup.h>
142 long *minBufferSizeFrames,
long *maxBufferSizeFrames );
153 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
171 #define paMacCoreChangeDeviceParameters (0x01)
176 #define paMacCoreFailIfConversionRequired (0x02)
180 #define paMacCoreConversionQualityMin (0x0100)
181 #define paMacCoreConversionQualityMedium (0x0200)
182 #define paMacCoreConversionQualityLow (0x0300)
183 #define paMacCoreConversionQualityHigh (0x0400)
184 #define paMacCoreConversionQualityMax (0x0000)
194 #define paMacCorePlayNice (0x00)
197 #define paMacCorePro (0x01)
199 #define paMacCoreMinimizeCPUButPlayNice (0x0100)
201 #define paMacCoreMinimizeCPU (0x0101)
PaHostApiTypeId hostApiType
SInt32 const * channelMap
The portable PortAudio API.
const char * PaMacCore_GetChannelName(int device, int channelIndex, bool input)
AudioDeviceID PaMacCore_GetStreamOutputDevice(PaStream *s)
unsigned long channelMapSize
void PaMacCore_SetupChannelMap(PaMacCoreStreamInfo *data, const SInt32 *const channelMap, unsigned long channelMapSize)
AudioDeviceID PaMacCore_GetStreamInputDevice(PaStream *s)
PaError PaMacCore_GetBufferSizeRange(PaDeviceIndex device, long *minBufferSizeFrames, long *maxBufferSizeFrames)
void PaMacCore_SetupStreamInfo(PaMacCoreStreamInfo *data, unsigned long flags)