Enum portaudio::types::PaError [-]  [+] [src]

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

No Error

PaNotInitialized

Portaudio not initialized

PaUnanticipatedHostError

Unanticipated error from the host

PaInvalidChannelCount

Invalid channel count

PaInvalidSampleRate

Invalid sample rate

PaInvalidDevice

Invalid Device

PaInvalidFlag

Invalid Flag

PaSampleFormatNotSupported

The Sample format is not supported

PaBadIODeviceCombination

Input device not compatible with output device

PaInsufficientMemory

Memory insufficient

PaBufferTooBig

The buffer is too big

PaBufferTooSmall

The buffer is too small

PaNullCallback

Invalid callback

PaBadStreamPtr

Invalid Stream

PaTimedOut

Time out

PaInternalError

Portaudio internal error

PaDeviceUnavailable

Device unavailable

PaIncompatibleHostApiSpecificStreamInfo

Stream info not compatible with the host

PaStreamIsStopped

The stream is stopped

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

The host API is invalid

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

Invalid buffer

Trait Implementations

Derived Implementations

impl Show for PaError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialOrd for PaError

fn partial_cmp(&self, __arg_0: &PaError) -> Option<Ordering>

fn lt(&self, __arg_0: &PaError) -> bool

fn le(&self, __arg_0: &PaError) -> bool

fn gt(&self, __arg_0: &PaError) -> bool

fn ge(&self, __arg_0: &PaError) -> bool

impl PartialEq for PaError

fn eq(&self, __arg_0: &PaError) -> bool

fn ne(&self, __arg_0: &PaError) -> bool

impl Clone for PaError

fn clone(&self) -> PaError

fn clone_from(&mut self, source: &Self)