Struct voicemeeter::interface::parameters::Parameters
source · pub struct Parameters<'a> { /* private fields */ }
Available on crate feature
interface
only.Expand description
Parameter abstraction
§Examples
println!(
"Strip 1: {}",
remote.parameters().strip(0)?.device()?.name().get()?
);
Implementations§
source§impl<'a> Parameters<'a>
impl<'a> Parameters<'a>
sourcepub fn strip(&self, index: impl StripIndex) -> Result<Strip<'a>, ParameterError>
pub fn strip(&self, index: impl StripIndex) -> Result<Strip<'a>, ParameterError>
Parameters of a strip.
A strip is a input that can be physical or virtual
§Availability
On each Voicemeeter application, there are different amounts of strips
Application | Strips | Physical | Virtual |
---|---|---|---|
Voicemeeter | total: 3 | total: 2 (starting on strip #0) | total: 1 (starting on strip #2) |
Voicemeeter Banana | total: 5 | total: 3 (starting on strip #0) | total: 2 (starting on strip #3) |
Voicemeeter Potato | total: 8 | total: 5 (starting on strip #0) | total: 3 (starting on strip #5) |
sourcepub fn bus(&self, index: impl BusIndex) -> Result<Bus<'a>, ParameterError>
pub fn bus(&self, index: impl BusIndex) -> Result<Bus<'a>, ParameterError>
Parameters of a bus.
A bus is a output. In the interface, these are called A1
, A2
, A3
, B1
, etc.
§Availability
On each Voicemeeter application, there are different amounts of busses
Application | Busses | Physical | Virtual |
---|---|---|---|
Voicemeeter | total: 2 | total: 2 (starting on bus #0) | total: 0 |
Voicemeeter Banana | total: 5 | total: 3 (starting on bus #0) | total: 2 (starting on bus #3) |
Voicemeeter Potato | total: 8 | total: 5 (starting on bus #0) | total: 3 (starting on bus #5) |
sourcepub fn option(&self) -> VoicemeeterOption<'a>
pub fn option(&self) -> VoicemeeterOption<'a>
Options for Voicemeeter
sourcepub fn recorder(&self) -> Result<VoicemeeterRecorder<'a>, ParameterError>
pub fn recorder(&self) -> Result<VoicemeeterRecorder<'a>, ParameterError>
Voicemeeter recorder with playback
sourcepub fn fx(&self) -> Result<VoicemeeterFx<'a>, ParameterError>
pub fn fx(&self) -> Result<VoicemeeterFx<'a>, ParameterError>
Voicemeeter FX
sourcepub fn vban(&self) -> VoicemeeterVban<'a>
pub fn vban(&self) -> VoicemeeterVban<'a>
Voicemeeter VBAN
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Parameters<'a>
impl<'a> Send for Parameters<'a>
impl<'a> Sync for Parameters<'a>
impl<'a> Unpin for Parameters<'a>
impl<'a> UnwindSafe for Parameters<'a>
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