Trait rea_rs::send::GenericSend
source · [−]pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType {
Show 18 methods
fn parent_track(&self) -> &Track<'_, T>;
fn index(&self) -> usize;
fn new(track: &'a Track<'_, T>, index: usize) -> Self;
fn get_info_value(&self, param: impl Into<String>) -> f64 { ... }
fn is_mute(&self) -> bool { ... }
fn phase_flipped(&self) -> bool { ... }
fn is_mono(&self) -> bool { ... }
fn volume(&self) -> Volume { ... }
fn pan(&self) -> Pan { ... }
fn pan_law(&self) -> PanLaw { ... }
fn send_mode(&self) -> SendMode { ... }
fn automation_mode(&self) -> AutomationMode { ... }
fn source_channels(&self) -> Option<SendSourceChannels> { ... }
fn dest_channels(&self) -> Option<SendDestChannels> { ... }
fn midi_properties(&self) -> Option<SendMIDIProps> { ... }
fn dest_track(&'a self) -> Option<Track<'_, Immutable>> { ... }
fn source_track(&'a self) -> Option<Track<'_, Immutable>> { ... }
fn get_envelope(
&'a self,
selector: impl Into<EnvelopeSelector>
) -> Option<Envelope<'_, Track<'_, T>, T>> { ... }
}
Required Methods
fn parent_track(&self) -> &Track<'_, T>
fn index(&self) -> usize
fn new(track: &'a Track<'_, T>, index: usize) -> Self
Provided Methods
sourcefn get_info_value(&self, param: impl Into<String>) -> f64
fn get_info_value(&self, param: impl Into<String>) -> f64
Core method to retrieve send properties. With probability of 99% you shouldn’t use it.
fn is_mute(&self) -> bool
sourcefn phase_flipped(&self) -> bool
fn phase_flipped(&self) -> bool
Phase flipped if true.
sourcefn is_mono(&self) -> bool
fn is_mono(&self) -> bool
Note, that mono parameter is not equal to SendDestChannels and SendSourceChannels is_mono parameters.
fn volume(&self) -> Volume
fn pan(&self) -> Pan
fn pan_law(&self) -> PanLaw
fn send_mode(&self) -> SendMode
fn automation_mode(&self) -> AutomationMode
sourcefn source_channels(&self) -> Option<SendSourceChannels>
fn source_channels(&self) -> Option<SendSourceChannels>
If None
returned — the audio is off.
sourcefn dest_channels(&self) -> Option<SendDestChannels>
fn dest_channels(&self) -> Option<SendDestChannels>
Returns None
if source_channels are None
.
sourcefn midi_properties(&self) -> Option<SendMIDIProps>
fn midi_properties(&self) -> Option<SendMIDIProps>
If None
is returned — MIDI is off.
fn dest_track(&'a self) -> Option<Track<'_, Immutable>>
fn source_track(&'a self) -> Option<Track<'_, Immutable>>
sourcefn get_envelope(
&'a self,
selector: impl Into<EnvelopeSelector>
) -> Option<Envelope<'_, Track<'_, T>, T>>
fn get_envelope(
&'a self,
selector: impl Into<EnvelopeSelector>
) -> Option<Envelope<'_, Track<'_, T>, T>>
Selector is either EnvelopeChunk or GUID.
In case of send it’s better to use chunk.