Enum ndk::aaudio::AAudioPerformanceMode [−][src]
#[repr(u32)] pub enum AAudioPerformanceMode { None, PowerSaving, LowLatency, }
Variants
No particular performance needs. Default.
Extending battery life is more important than low latency.
This mode is not supported in input streams. For input, mode NONE will be used if this is requested.
Reducing latency is more important than battery life.
Trait Implementations
Performs the conversion.
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AAudioPerformanceMode
impl Send for AAudioPerformanceMode
impl Sync for AAudioPerformanceMode
impl Unpin for AAudioPerformanceMode
impl UnwindSafe for AAudioPerformanceMode
Blanket Implementations
Mutably borrows from an owned value. Read more