Enum ndk::aaudio::AAudioErrorResult [−][src]
#[repr(i32)] pub enum AAudioErrorResult {}Show 17 variants
Base, Disconnected, IllegalArgument, Internal, InvalidState, InvalidHandle, Unimplemented, Unavailable, NoFreeHandles, NoMemory, Null, Timeout, WouldBlock, InvalidFormat, OutOfRange, NoService, InvalidRate,
Variants
The audio device was disconnected. This could occur, for example, when headphones are plugged in or unplugged. The stream cannot be used after the device is disconnected. Applications should stop and close the stream. If this error is received in an error callback then another thread should be used to stop and close the stream.
An invalid parameter was passed to AAudio.
The requested operation is not appropriate for the current state of AAudio.
The requested operation is not appropriate for the current state of AAudio.
The server rejected the handle used to identify the stream.
The function is not implemented for this stream.
A resource or information is unavailable. This could occur when an application tries to open too many streams, or a timestamp is not available.
Memory could not be allocated.
Memory could not be allocated.
The requested data format is not supported.
A requested was out of range.
The audio service was not available.
The requested sample rate was not supported.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AAudioErrorResult
impl Send for AAudioErrorResult
impl Sync for AAudioErrorResult
impl Unpin for AAudioErrorResult
impl UnwindSafe for AAudioErrorResult
Blanket Implementations
Mutably borrows from an owned value. Read more