71 typedef enum PaErrorCode
75 paNotInitialized = -10000,
76 paUnanticipatedHostError,
77 paInvalidChannelCount,
81 paSampleFormatNotSupported,
82 paBadIODeviceCombination,
91 paIncompatibleHostApiSpecificStreamInfo,
98 paCanNotReadFromACallbackStream,
99 paCanNotWriteToACallbackStream,
100 paCanNotReadFromAnOutputOnlyStream,
101 paCanNotWriteToAnInputOnlyStream,
102 paIncompatibleStreamHostApi,
169 #define paNoDevice ((PaDeviceIndex)-1)
177 #define paUseHostApiSpecificDeviceSpecification ((PaDeviceIndex)-2)
332 int hostApiDeviceIndex );
436 #define paFloat32 ((PaSampleFormat) 0x00000001)
437 #define paInt32 ((PaSampleFormat) 0x00000002)
438 #define paInt24 ((PaSampleFormat) 0x00000004)
439 #define paInt16 ((PaSampleFormat) 0x00000008)
440 #define paInt8 ((PaSampleFormat) 0x00000010)
441 #define paUInt8 ((PaSampleFormat) 0x00000020)
442 #define paCustomFormat ((PaSampleFormat) 0x00010000)
444 #define paNonInterleaved ((PaSampleFormat) 0x80000000)
449 typedef struct PaDeviceInfo
455 int maxInputChannels;
456 int maxOutputChannels;
460 PaTime defaultLowOutputLatency;
463 PaTime defaultHighOutputLatency;
465 double defaultSampleRate;
534 #define paFormatIsSupported (0)
591 #define paFramesPerBufferUnspecified (0)
605 #define paNoFlag ((PaStreamFlags) 0)
610 #define paClipOff ((PaStreamFlags) 0x00000001)
615 #define paDitherOff ((PaStreamFlags) 0x00000002)
626 #define paNeverDropInput ((PaStreamFlags) 0x00000004)
634 #define paPrimeOutputBuffersUsingStreamCallback ((PaStreamFlags) 0x00000008)
639 #define paPlatformSpecificFlags ((PaStreamFlags)0xFFFF0000)
670 #define paInputUnderflow ((PaStreamCallbackFlags) 0x00000001)
679 #define paInputOverflow ((PaStreamCallbackFlags) 0x00000002)
685 #define paOutputUnderflow ((PaStreamCallbackFlags) 0x00000004)
690 #define paOutputOverflow ((PaStreamCallbackFlags) 0x00000008)
696 #define paPrimingOutput ((PaStreamCallbackFlags) 0x00000010)
780 const void *input,
void *output,
781 unsigned long frameCount,
783 PaStreamCallbackFlags statusFlags,
845 unsigned long framesPerBuffer,
846 PaStreamFlags streamFlags,
882 int numInputChannels,
883 int numOutputChannels,
884 PaSampleFormat sampleFormat,
886 unsigned long framesPerBuffer,
1097 unsigned long frames );
1124 unsigned long frames );