Struct voicemeeter::interface::parameters::recorder::VoicemeeterRecorder
source · pub struct VoicemeeterRecorder<'a> { /* private fields */ }
Available on crate feature
interface
only.Expand description
Recorder parameters
Implementations§
source§impl<'a> VoicemeeterRecorder<'a>
impl<'a> VoicemeeterRecorder<'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: Recorder.{dot}
sourcepub fn stop(&self) -> BoolParameter<'_>
pub fn stop(&self) -> BoolParameter<'_>
Stop the recorder
sourcepub fn play(&self) -> BoolParameter<'_>
pub fn play(&self) -> BoolParameter<'_>
Start the recorder
sourcepub fn replay(&self) -> BoolParameter<'_>
pub fn replay(&self) -> BoolParameter<'_>
Play from position
sourcepub fn ff(&self) -> BoolParameter<'_>
pub fn ff(&self) -> BoolParameter<'_>
Fast forward
sourcepub fn rew(&self) -> BoolParameter<'_>
pub fn rew(&self) -> BoolParameter<'_>
Rewind
sourcepub fn goto(&self) -> StringParameter<'_>
pub fn goto(&self) -> StringParameter<'_>
Goto position
sourcepub fn out_bus_assignation(
&self,
bus: &Device
) -> Result<BoolParameter<'_>, ParameterError>
pub fn out_bus_assignation( &self, bus: &Device ) -> Result<BoolParameter<'_>, ParameterError>
Set the assignation of the recorder
sourcepub fn record(&self) -> BoolParameter<'_>
pub fn record(&self) -> BoolParameter<'_>
Record
sourcepub fn pause(&self) -> BoolParameter<'_>
pub fn pause(&self) -> BoolParameter<'_>
Pause
sourcepub fn load(&self) -> StringParameter<'a, true, false>
pub fn load(&self) -> StringParameter<'a, true, false>
Load a file to play in the recorder
sourcepub fn samplerate(&self) -> IntParameter<'_>
pub fn samplerate(&self) -> IntParameter<'_>
Set samplerate
sourcepub fn arm_strip(
&self,
strip: impl StripIndex
) -> Result<BoolParameter<'_>, ParameterError>
pub fn arm_strip( &self, strip: impl StripIndex ) -> Result<BoolParameter<'_>, ParameterError>
Arm a strip to use as pre-fader input (multiple)
sourcepub fn arm_bus(
&self,
bus: impl BusIndex
) -> Result<BoolParameter<'_>, ParameterError>
pub fn arm_bus( &self, bus: impl BusIndex ) -> Result<BoolParameter<'_>, ParameterError>
Arm a bus to use as post-fader output (single)
sourcepub fn mode(&self) -> VoicemeeterRecorderMode<'a>
pub fn mode(&self) -> VoicemeeterRecorderMode<'a>
Mode options
sourcepub fn bit_resolution(&self) -> IntParameter<'_>
pub fn bit_resolution(&self) -> IntParameter<'_>
Set the bit resolution. On of 8
, 16
, 24
, 32
sourcepub fn channel(&self) -> IntParameter<'_>
pub fn channel(&self) -> IntParameter<'_>
Channels to use for recording post-fader outputs, 2
, 4
, 6
, 8
sourcepub fn kbps(&self) -> IntParameter<'_>
pub fn kbps(&self) -> IntParameter<'_>
Set the bitrate for the recording of mp3
sourcepub fn file_type(&self) -> IntParameter<'_>
pub fn file_type(&self) -> IntParameter<'_>
Set the file type for the recording
i | Type |
---|---|
1 | WAV |
2 | AIFF |
3 | BWF |
100 | MP3 |
sourcepub fn gain(&self) -> FloatParameter<'_>
pub fn gain(&self) -> FloatParameter<'_>
Set playback gain
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VoicemeeterRecorder<'a>
impl<'a> Send for VoicemeeterRecorder<'a>
impl<'a> Sync for VoicemeeterRecorder<'a>
impl<'a> Unpin for VoicemeeterRecorder<'a>
impl<'a> UnwindSafe for VoicemeeterRecorder<'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