#[repr(i32)]
pub enum SpeakerArrangementType {
Show 31 variants Custom = -2, Empty = -1, Mono = 0, Stereo = 1, StereoSurround = 2, StereoCenter = 3, StereoSide = 4, StereoCLfe = 5, Cinema30 = 6, Music30 = 7, Cinema31 = 8, Music31 = 9, Cinema40 = 10, Music40 = 11, Cinema41 = 12, Music41 = 13, Surround50 = 14, Surround51 = 15, Cinema60 = 16, Music60 = 17, Cinema61 = 18, Music61 = 19, Cinema70 = 20, Music70 = 21, Cinema71 = 22, Music71 = 23, Cinema80 = 24, Music80 = 25, Cinema81 = 26, Music81 = 27, Surround102 = 28,
}
Expand description

Tells the host how the channels are intended to be used in the plugin. Only useful for some hosts.

Variants§

§

Custom = -2

User defined arrangement.

§

Empty = -1

Empty arrangement.

§

Mono = 0

Mono.

§

Stereo = 1

L R

§

StereoSurround = 2

Ls Rs

§

StereoCenter = 3

Lc Rc

§

StereoSide = 4

Sl Sr

§

StereoCLfe = 5

C Lfe

§

Cinema30 = 6

L R C

§

Music30 = 7

L R S

§

Cinema31 = 8

L R C Lfe

§

Music31 = 9

L R Lfe S

§

Cinema40 = 10

L R C S (LCRS)

§

Music40 = 11

L R Ls Rs (Quadro)

§

Cinema41 = 12

L R C Lfe S (LCRS + Lfe)

§

Music41 = 13

L R Lfe Ls Rs (Quadro + Lfe)

§

Surround50 = 14

L R C Ls Rs

§

Surround51 = 15

L R C Lfe Ls Rs

§

Cinema60 = 16

L R C Ls Rs Cs

§

Music60 = 17

L R Ls Rs Sl Sr

§

Cinema61 = 18

L R C Lfe Ls Rs Cs

§

Music61 = 19

L R Lfe Ls Rs Sl Sr

§

Cinema70 = 20

L R C Ls Rs Lc Rc

§

Music70 = 21

L R C Ls Rs Sl Sr

§

Cinema71 = 22

L R C Lfe Ls Rs Lc Rc

§

Music71 = 23

L R C Lfe Ls Rs Sl Sr

§

Cinema80 = 24

L R C Ls Rs Lc Rc Cs

§

Music80 = 25

L R C Ls Rs Cs Sl Sr

§

Cinema81 = 26

L R C Lfe Ls Rs Lc Rc Cs

§

Music81 = 27

L R C Lfe Ls Rs Cs Sl Sr

§

Surround102 = 28

L R C Lfe Ls Rs Tfl Tfc Tfr Trl Trr Lfe2

Trait Implementations§

source§

impl Clone for SpeakerArrangementType

source§

fn clone(&self) -> SpeakerArrangementType

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Into<SpeakerArrangementType> for SpeakerArrangementType

source§

fn into(self) -> SpeakerArrangementType

Convert to VST API arrangement type.

source§

impl Copy for SpeakerArrangementType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<S> FromSample<S> for S

source§

fn from_sample_(s: S) -> S

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

source§

fn to_sample_(self) -> U

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,