#include <aflibEditClip.h>
Public Methods | |
aflibEditClip () | |
Constructor. | |
aflibEditClip (int input, long long start_samples_o, long long stop_samples_o, long long start_samples_i, long long stop_samples_i, double sample_rate_factor) | |
Constructor with parameters. | |
~aflibEditClip () | |
Destructor. | |
bool | operator< (const aflibEditClip &clip) const |
Operator to determine what clip is before another in output space. | |
void | setInput (int input) |
Set the input that a clip uses. | |
int | getInput () const |
Get the input that a clip uses. | |
void | setStartSamplesOutput (long long start_samples_o) |
Sets the start samples location for the output. | |
long long | getStartSamplesOutput () const |
Gets the start samples location for the output. | |
void | setStopSamplesOutput (long long stop_samples_o) |
Sets the stop samples location for the output. | |
long long | getStopSamplesOutput () const |
Gets the stop samples location for the output. | |
void | setStartSamplesInput (long long start_samples_i) |
Sets the start samples location for the input. | |
long long | getStartSamplesInput () const |
Gets the start samples location for the input. | |
void | setStopSamplesInput (long long stop_samples_i) |
Sets the stop samples location for the input. | |
long long | getStopSamplesInput () const |
Gets the stop samples location for the input. | |
void | setSampleRateFactor (double sample_rate_factor) |
Sets the sample rate conversion factor. More... | |
double | getSampleRateFactor () const |
Gets the sample rate conversion factor. | |
int | compare (const aflibEditClip &clip) |
Compares two date / time objects. More... |
This stores an audio segment by the start and stop samples for the input and output. It will also compare two objects and determine which one is before the other.
|
Constructor.
|
|
Constructor with parameters.
|
|
Destructor.
|
|
Compares two date / time objects. This function will compare an audio clip with this one. It will return one of three possible values. -1 : "this" clip is before "clip" clip sequentially. 0 : "this" starts within "clip" clip 1 : "this" clip is after "clip" clip |
|
Get the input that a clip uses.
|
|
Gets the sample rate conversion factor.
|
|
Gets the start samples location for the input.
|
|
Gets the start samples location for the output.
|
|
Gets the stop samples location for the input.
|
|
Gets the stop samples location for the output.
|
|
Operator to determine what clip is before another in output space.
|
|
Set the input that a clip uses.
|
|
Sets the sample rate conversion factor. If an input is at 22050 Hz and the output will be 44100 then the sample rate conversion factor will be 2.0. Thus there will be twice as many samples in the output as are in the input. |
|
Sets the start samples location for the input.
|
|
Sets the start samples location for the output.
|
|
Sets the stop samples location for the input.
|
|
Sets the stop samples location for the output.
|