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> Freeze for VoicemeeterRecorder<'a>
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