Struct voicemeeter::interface::parameters::option::VoicemeeterOption
source · pub struct VoicemeeterOption<'a> { /* private fields */ }
Available on crate feature
interface
only.Expand description
Option parameters for voicemeeter
Implementations§
source§impl<'a> VoicemeeterOption<'a>
impl<'a> VoicemeeterOption<'a>
sourcepub fn param(&self, dot: impl Display) -> Cow<'static, ParameterNameRef>
pub fn param(&self, dot: impl Display) -> Cow<'static, ParameterNameRef>
Get the identifier for an option: Option.{dot}
sourcepub fn sr(&self) -> FloatParameter<'_>
pub fn sr(&self) -> FloatParameter<'_>
Preferred samplerate
Valid Samplerates |
---|
44100.0 |
48000.0 |
88200.0 |
96000.0 |
176400.0 |
192000.0 |
sourcepub fn asio_sr(&self) -> BoolParameter<'_>
pub fn asio_sr(&self) -> BoolParameter<'_>
Samplerate for ASIO driver on output A1.
Value | Description
— | —
false
| default ASIO samplerate
true
| preferred samplerate
sourcepub fn delay(&self, bus: usize) -> IntParameter<'_>
pub fn delay(&self, bus: usize) -> IntParameter<'_>
BUS output delay
sourcepub fn buffer_mme(&self) -> IntParameter<'_>
pub fn buffer_mme(&self) -> IntParameter<'_>
MME buffer size
sourcepub fn buffer_wdm(&self) -> IntParameter<'_>
pub fn buffer_wdm(&self) -> IntParameter<'_>
WDM buffer size
sourcepub fn buffer_ks(&self) -> IntParameter<'_>
pub fn buffer_ks(&self) -> IntParameter<'_>
KS buffer size
sourcepub fn buffer_asio(&self) -> IntParameter<'_>
pub fn buffer_asio(&self) -> IntParameter<'_>
ASIO buffer size
sourcepub fn mode_exlusif(&self) -> BoolParameter<'_>
pub fn mode_exlusif(&self) -> BoolParameter<'_>
WDM input exclusive
sourcepub fn mode_swift(&self) -> BoolParameter<'_>
pub fn mode_swift(&self) -> BoolParameter<'_>
WDM swift mode
sourcepub fn monitor_on_sel(&self) -> BoolParameter<'_>
pub fn monitor_on_sel(&self) -> BoolParameter<'_>
Option Monitor on SEL
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VoicemeeterOption<'a>
impl<'a> Send for VoicemeeterOption<'a>
impl<'a> Sync for VoicemeeterOption<'a>
impl<'a> Unpin for VoicemeeterOption<'a>
impl<'a> UnwindSafe for VoicemeeterOption<'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