pub enum PaError {
PaNoError,
PaNotInitialized,
PaUnanticipatedHostError,
PaInvalidChannelCount,
PaInvalidSampleRate,
PaInvalidDevice,
PaInvalidFlag,
PaSampleFormatNotSupported,
PaBadIODeviceCombination,
PaInsufficientMemory,
PaBufferTooBig,
PaBufferTooSmall,
PaNullCallback,
PaBadStreamPtr,
PaTimedOut,
PaInternalError,
PaDeviceUnavailable,
PaIncompatibleHostApiSpecificStreamInfo,
PaStreamIsStopped,
PaStreamIsNotStopped,
PaInputOverflowed,
PaOutputUnderflowed,
PaHostApiNotFound,
PaInvalidHostApi,
PaCanNotReadFromACallbackStream,
PaCanNotWriteToACallbackStream,
PaCanNotReadFromAnOutputOnlyStream,
PaCanNotWriteToAnInputOnlyStream,
PaIncompatibleStreamHostApi,
PaBadBufferPtr,
}Error codes returned by PortAudio functions.
Variants
PaNoError | |
PaNotInitialized | Portaudio not initialized
|
PaUnanticipatedHostError | Unanticipated error from the host
|
PaInvalidChannelCount | |
PaInvalidSampleRate | |
PaInvalidDevice | |
PaInvalidFlag | |
PaSampleFormatNotSupported | The Sample format is not supported
|
PaBadIODeviceCombination | Input device not compatible with output device
|
PaInsufficientMemory | |
PaBufferTooBig | |
PaBufferTooSmall | |
PaNullCallback | |
PaBadStreamPtr | |
PaTimedOut | |
PaInternalError | |
PaDeviceUnavailable | |
PaIncompatibleHostApiSpecificStreamInfo | Stream info not compatible with the host
|
PaStreamIsStopped | |
PaStreamIsNotStopped | The stream is not stopped
|
PaInputOverflowed | The input stream has overflowed
|
PaOutputUnderflowed | The output has overflowed
|
PaHostApiNotFound | The host API is not found by Portaudio
|
PaInvalidHostApi | |
PaCanNotReadFromACallbackStream | Portaudio cannot read from the callback stream
|
PaCanNotWriteToACallbackStream | Portaudio cannot wrtie to the callback stream
|
PaCanNotReadFromAnOutputOnlyStream | Portaudio cannot read from an output only stream
|
PaCanNotWriteToAnInputOnlyStream | Portaudio cannot write to an input only stream
|
PaIncompatibleStreamHostApi | The stream is not compatible with the host API
|
PaBadBufferPtr | |
Trait Implementations
Derived Implementations