[][src]Enum agorartc_sys::agorartc::AUDIO_SCENARIO_TYPE

pub enum AUDIO_SCENARIO_TYPE {
    AUDIO_SCENARIO_DEFAULT,
    AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT,
    AUDIO_SCENARIO_EDUCATION,
    AUDIO_SCENARIO_GAME_STREAMING,
    AUDIO_SCENARIO_SHOWROOM,
    AUDIO_SCENARIO_CHATROOM_GAMING,
    AUDIO_SCENARIO_IOT,
    AUDIO_SCENARIO_NUM,
}

Audio application scenarios.

Variants

AUDIO_SCENARIO_DEFAULT

0: Default.

AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT

1: Entertainment scenario, supporting voice during gameplay.

AUDIO_SCENARIO_EDUCATION

2: Education scenario, prioritizing smoothness and stability.

AUDIO_SCENARIO_GAME_STREAMING

3: Live gaming scenario, enabling the gaming audio effects in the speaker mode in the interactive live streaming scenario. Choose this scenario for high-fidelity music playback.

AUDIO_SCENARIO_SHOWROOM

4: Showroom scenario, optimizing the audio quality with external professional equipment.

AUDIO_SCENARIO_CHATROOM_GAMING

5: Gaming scenario.

AUDIO_SCENARIO_IOT

6: Applicable to the IoT scenario.

AUDIO_SCENARIO_NUM

Trait Implementations

impl FromPrimitive for AUDIO_SCENARIO_TYPE[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<T> From<T> for T[src]

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

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.