Struct voicemeeter::interface::parameters::vban::VoicemeeterVbanStream
source · pub struct VoicemeeterVbanStream<'a, const INPUT: bool> { /* private fields */ }
Available on crate feature
interface
only.Expand description
A VBAN stream, input or output
Implementations§
source§impl<'a, const INPUT: bool> VoicemeeterVbanStream<'a, INPUT>
impl<'a, const INPUT: bool> VoicemeeterVbanStream<'a, INPUT>
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: Vban.{input}stream.{dot}
sourcepub fn on(&self) -> BoolParameter<'_>
pub fn on(&self) -> BoolParameter<'_>
Stream On/Off
sourcepub fn name(&self) -> StringParameter<'_>
pub fn name(&self) -> StringParameter<'_>
Stream name
sourcepub fn ip(&self) -> StringParameter<'_>
pub fn ip(&self) -> StringParameter<'_>
IP Address
sourcepub fn port(&self) -> IntParameter<'_>
pub fn port(&self) -> IntParameter<'_>
Port
sourcepub fn quality(&self) -> IntParameter<'_>
pub fn quality(&self) -> IntParameter<'_>
Quality
sourcepub fn route(&self) -> IntParameter<'_>
pub fn route(&self) -> IntParameter<'_>
Strip Selector
source§impl<'a> VoicemeeterVbanStream<'a, true>
impl<'a> VoicemeeterVbanStream<'a, true>
sourcepub fn sample_rate(&self) -> IntParameter<'a, false, true>
pub fn sample_rate(&self) -> IntParameter<'a, false, true>
Sample rate
sourcepub fn channel(&self) -> IntParameter<'a, false, true>
pub fn channel(&self) -> IntParameter<'a, false, true>
Channel
1 to 8
sourcepub fn bit(&self) -> IntParameter<'a, false, true>
pub fn bit(&self) -> IntParameter<'a, false, true>
VBAN data type
type | format |
---|---|
1 | 16 bits PCM |
2 | 24 bits PCM |
source§impl<'a> VoicemeeterVbanStream<'a, false>
impl<'a> VoicemeeterVbanStream<'a, false>
sourcepub fn sample_rate(&self) -> IntParameter<'_>
pub fn sample_rate(&self) -> IntParameter<'_>
Sample rate
sourcepub fn channel(&self) -> IntParameter<'_>
pub fn channel(&self) -> IntParameter<'_>
Channel
1 to 8
sourcepub fn bit(&self) -> IntParameter<'_>
pub fn bit(&self) -> IntParameter<'_>
VBAN data type
type | format |
---|---|
1 | 16 bits PCM |
2 | 24 bits PCM |
Auto Trait Implementations§
impl<'a, const INPUT: bool> RefUnwindSafe for VoicemeeterVbanStream<'a, INPUT>
impl<'a, const INPUT: bool> Send for VoicemeeterVbanStream<'a, INPUT>
impl<'a, const INPUT: bool> Sync for VoicemeeterVbanStream<'a, INPUT>
impl<'a, const INPUT: bool> Unpin for VoicemeeterVbanStream<'a, INPUT>
impl<'a, const INPUT: bool> UnwindSafe for VoicemeeterVbanStream<'a, INPUT>
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