[][src]Enum oboe::SessionId

#[repr(i32)]pub enum SessionId {
    None,
    Allocate,
}

This attribute can be used to allocate a session ID to the audio stream.

This attribute only has an effect on Android API 28+.

Variants

None

Do not allocate a session ID. Effects cannot be used with this stream. Default.

Allocate

Allocate a session ID that can be used to attach and control effects using the Java AudioEffects API. Note that the use of this flag may result in higher latency.

Note that this matches the value of AudioManager.AUDIO_SESSION_ID_GENERATE.

Trait Implementations

impl Clone for SessionId[src]

impl Copy for SessionId[src]

impl Debug for SessionId[src]

impl Eq for SessionId[src]

impl FromPrimitive for SessionId[src]

impl PartialEq<SessionId> for SessionId[src]

impl StructuralEq for SessionId[src]

impl StructuralPartialEq for SessionId[src]

impl ToPrimitive for SessionId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Desc<'a, T> for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.