.TH "aflibEditClip" 3 "16 Jan 2007" "Open Source Audio Library Project" \" -*- nroff -*- .ad l .nh .SH NAME aflibEditClip \- Data class used by \fBaflibAudioEdit\fP. .PP .SH SYNOPSIS .br .PP \fC#include \fP .PP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBaflibEditClip\fP ()" .br .RI "\fIConstructor. \fP" .ti -1c .RI "\fBaflibEditClip\fP (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)" .br .RI "\fIConstructor with parameters. \fP" .ti -1c .RI "\fB~aflibEditClip\fP ()" .br .RI "\fIDestructor. \fP" .ti -1c .RI "bool \fBoperator<\fP (const \fBaflibEditClip\fP &clip) const " .br .RI "\fIOperator to determine what clip is before another in output space. \fP" .ti -1c .RI "void \fBsetInput\fP (int input)" .br .RI "\fISet the input that a clip uses. \fP" .ti -1c .RI "int \fBgetInput\fP () const " .br .RI "\fIGet the input that a clip uses. \fP" .ti -1c .RI "void \fBsetStartSamplesOutput\fP (long long start_samples_o)" .br .RI "\fISets the start samples location for the output. \fP" .ti -1c .RI "long long \fBgetStartSamplesOutput\fP () const " .br .RI "\fIGets the start samples location for the output. \fP" .ti -1c .RI "void \fBsetStopSamplesOutput\fP (long long stop_samples_o)" .br .RI "\fISets the stop samples location for the output. \fP" .ti -1c .RI "long long \fBgetStopSamplesOutput\fP () const " .br .RI "\fIGets the stop samples location for the output. \fP" .ti -1c .RI "void \fBsetStartSamplesInput\fP (long long start_samples_i)" .br .RI "\fISets the start samples location for the input. \fP" .ti -1c .RI "long long \fBgetStartSamplesInput\fP () const " .br .RI "\fIGets the start samples location for the input. \fP" .ti -1c .RI "void \fBsetStopSamplesInput\fP (long long stop_samples_i)" .br .RI "\fISets the stop samples location for the input. \fP" .ti -1c .RI "long long \fBgetStopSamplesInput\fP () const " .br .RI "\fIGets the stop samples location for the input. \fP" .ti -1c .RI "void \fBsetSampleRateFactor\fP (double sample_rate_factor)" .br .RI "\fISets the sample rate conversion factor. \fP" .ti -1c .RI "double \fBgetSampleRateFactor\fP () const " .br .RI "\fIGets the sample rate conversion factor. \fP" .ti -1c .RI "int \fBcompare\fP (const \fBaflibEditClip\fP &clip)" .br .RI "\fICompares two date / time objects. \fP" .in -1c .SH "Detailed Description" .PP Data class used by \fBaflibAudioEdit\fP. 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. .PP .SH "Member Function Documentation" .PP .SS "int aflibEditClip::compare (const \fBaflibEditClip\fP & clip)" .PP Compares two date / time objects. .PP 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 .SS "void aflibEditClip::setSampleRateFactor (double sample_rate_factor)" .PP Sets the sample rate conversion factor. .PP 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. .SH "Author" .PP Generated automatically by Doxygen for Open Source Audio Library Project from the source code.