pub enum RoutingUsbOutOptions {
MainOut,
VoiceRouting((HardwareTrack, HardwareTrack)),
AudioIn,
Off,
}
Expand description
An enum which represents the usb out audio routing options.
Excerpt from the manual:
USB OUT
sets from where in the Analog Rytm MKII’s signal path, the outgoing audio is routed to the
class compliant device. This parameter is only available when USB CONFIG
is set to USB AUDIO/MIDI
.
MAIN OUT
the outgoing audio is routed from the Analog Rytm MKII’s main out at the end of the signal path.TRACK 1–12, L:1–12/R:1–12
Press a[PAD]
twice to select a single track as a source The selected track’s[PAD]
(or [PADS] if you selected a track that shares its voice with another track) lights up white. Press first one[PAD]
and then another to select two separate tracks as sources. The selected tracks’[PADS]
lights up blue for left channel and red for right channel. The audio from the tracks is routed out and sent separately on left and right channel.AUDIO IN
the outgoing audio is routed straight from the Analog Rytm MKII’s audio inputs to the class compliant device.OFF
no audio is sent to the class compliant device.
Variants§
MainOut
VoiceRouting((HardwareTrack, HardwareTrack))
Left channel routing, Right channel routing
AudioIn
Off
Trait Implementations§
source§impl Clone for RoutingUsbOutOptions
impl Clone for RoutingUsbOutOptions
source§fn clone(&self) -> RoutingUsbOutOptions
fn clone(&self) -> RoutingUsbOutOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RoutingUsbOutOptions
impl Debug for RoutingUsbOutOptions
source§impl Default for RoutingUsbOutOptions
impl Default for RoutingUsbOutOptions
source§fn default() -> RoutingUsbOutOptions
fn default() -> RoutingUsbOutOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RoutingUsbOutOptions
impl<'de> Deserialize<'de> for RoutingUsbOutOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RoutingUsbOutOptions> for &str
impl From<RoutingUsbOutOptions> for &str
source§fn from(value: RoutingUsbOutOptions) -> Self
fn from(value: RoutingUsbOutOptions) -> Self
Converts to this type from the input type.
source§impl From<RoutingUsbOutOptions> for u8
impl From<RoutingUsbOutOptions> for u8
source§fn from(value: RoutingUsbOutOptions) -> Self
fn from(value: RoutingUsbOutOptions) -> Self
Converts to this type from the input type.
source§impl Hash for RoutingUsbOutOptions
impl Hash for RoutingUsbOutOptions
source§impl Ord for RoutingUsbOutOptions
impl Ord for RoutingUsbOutOptions
source§fn cmp(&self, other: &RoutingUsbOutOptions) -> Ordering
fn cmp(&self, other: &RoutingUsbOutOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RoutingUsbOutOptions
impl PartialEq for RoutingUsbOutOptions
source§fn eq(&self, other: &RoutingUsbOutOptions) -> bool
fn eq(&self, other: &RoutingUsbOutOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RoutingUsbOutOptions
impl PartialOrd for RoutingUsbOutOptions
source§fn partial_cmp(&self, other: &RoutingUsbOutOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &RoutingUsbOutOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RoutingUsbOutOptions
impl Serialize for RoutingUsbOutOptions
source§impl TryFrom<&str> for RoutingUsbOutOptions
impl TryFrom<&str> for RoutingUsbOutOptions
source§impl TryFrom<u8> for RoutingUsbOutOptions
impl TryFrom<u8> for RoutingUsbOutOptions
impl Copy for RoutingUsbOutOptions
impl Eq for RoutingUsbOutOptions
impl StructuralEq for RoutingUsbOutOptions
impl StructuralPartialEq for RoutingUsbOutOptions
Auto Trait Implementations§
impl RefUnwindSafe for RoutingUsbOutOptions
impl Send for RoutingUsbOutOptions
impl Sync for RoutingUsbOutOptions
impl Unpin for RoutingUsbOutOptions
impl UnwindSafe for RoutingUsbOutOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more