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> Freeze for VoicemeeterVbanStream<'a, INPUT>
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