81 #define paMakeVersionNumber(major, minor, subminor) \
82 (((major)&0xFF)<<16 | ((minor)&0xFF)<<8 | ((subminor)&0xFF))
122 typedef enum PaErrorCode
126 paNotInitialized = -10000,
127 paUnanticipatedHostError,
128 paInvalidChannelCount,
132 paSampleFormatNotSupported,
133 paBadIODeviceCombination,
134 paInsufficientMemory,
142 paIncompatibleHostApiSpecificStreamInfo,
144 paStreamIsNotStopped,
149 paCanNotReadFromACallbackStream,
150 paCanNotWriteToACallbackStream,
151 paCanNotReadFromAnOutputOnlyStream,
152 paCanNotWriteToAnInputOnlyStream,
153 paIncompatibleStreamHostApi,
220 #define paNoDevice ((PaDeviceIndex)-1)
228 #define paUseHostApiSpecificDeviceSpecification ((PaDeviceIndex)-2)
383 int hostApiDeviceIndex );
487 #define paFloat32 ((PaSampleFormat) 0x00000001)
488 #define paInt32 ((PaSampleFormat) 0x00000002)
489 #define paInt24 ((PaSampleFormat) 0x00000004)
490 #define paInt16 ((PaSampleFormat) 0x00000008)
491 #define paInt8 ((PaSampleFormat) 0x00000010)
492 #define paUInt8 ((PaSampleFormat) 0x00000020)
493 #define paCustomFormat ((PaSampleFormat) 0x00010000)
495 #define paNonInterleaved ((PaSampleFormat) 0x80000000)
500 typedef struct PaDeviceInfo
506 int maxInputChannels;
507 int maxOutputChannels;
511 PaTime defaultLowOutputLatency;
514 PaTime defaultHighOutputLatency;
516 double defaultSampleRate;
585 #define paFormatIsSupported (0)
642 #define paFramesPerBufferUnspecified (0)
656 #define paNoFlag ((PaStreamFlags) 0)
661 #define paClipOff ((PaStreamFlags) 0x00000001)
666 #define paDitherOff ((PaStreamFlags) 0x00000002)
677 #define paNeverDropInput ((PaStreamFlags) 0x00000004)
685 #define paPrimeOutputBuffersUsingStreamCallback ((PaStreamFlags) 0x00000008)
690 #define paPlatformSpecificFlags ((PaStreamFlags)0xFFFF0000)
721 #define paInputUnderflow ((PaStreamCallbackFlags) 0x00000001)
730 #define paInputOverflow ((PaStreamCallbackFlags) 0x00000002)
736 #define paOutputUnderflow ((PaStreamCallbackFlags) 0x00000004)
741 #define paOutputOverflow ((PaStreamCallbackFlags) 0x00000008)
747 #define paPrimingOutput ((PaStreamCallbackFlags) 0x00000010)
831 const void *input,
void *output,
832 unsigned long frameCount,
834 PaStreamCallbackFlags statusFlags,
896 unsigned long framesPerBuffer,
897 PaStreamFlags streamFlags,
933 int numInputChannels,
934 int numOutputChannels,
935 PaSampleFormat sampleFormat,
937 unsigned long framesPerBuffer,
1148 unsigned long frames );
1175 unsigned long frames );