Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

aflibEditClip.h

Go to the documentation of this file.
00001 /*
00002  * Copyright: (C) 1999-2001 Bruce W. Forsberg
00003  *
00004  *   This library is free software; you can redistribute it and/or
00005  *   modify it under the terms of the GNU Lesser General Public
00006  *   License as published by the Free Software Foundation; either
00007  *   version 2.1 of the License, or any later version.
00008  *
00009  *   This library is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  *   Lesser General Public License for more details.
00013  *
00014  *   You should have received a copy of the GNU Lesser General Public
00015  *   License along with this library; if not, write to the Free Software
00016  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00017  *
00018  *   Bruce Forsberg  forsberg@tns.net
00019  *
00020  */
00021 
00022 
00023 #ifndef _AFLIBEDITCLIP_H_
00024 #define _AFLIBEDITCLIP_H_
00025 
00026 
00035 class aflibEditClip {
00036 
00037 public:
00038 
00039    aflibEditClip();
00040 
00041    aflibEditClip(
00042       int  input,
00043       long long start_samples_o,
00044       long long stop_samples_o,
00045       long long start_samples_i,
00046       long long stop_samples_i,
00047       double    sample_rate_factor);
00048 
00049    ~aflibEditClip();
00050 
00051    bool
00052    operator < (const aflibEditClip& clip) const;
00053 
00054    void
00055    setInput(int input);
00056 
00057    int
00058    getInput() const;
00059 
00060    void
00061    setStartSamplesOutput(long long start_samples_o);
00062 
00063    long long
00064    getStartSamplesOutput() const;
00065 
00066    void
00067    setStopSamplesOutput(long long stop_samples_o);
00068 
00069    long long
00070    getStopSamplesOutput() const;
00071 
00072    void
00073    setStartSamplesInput(long long start_samples_i);
00074 
00075    long long
00076    getStartSamplesInput() const;
00077 
00078    void
00079    setStopSamplesInput(long long stop_samples_i);
00080 
00081    long long
00082    getStopSamplesInput() const;
00083 
00084    void
00085    setSampleRateFactor(double sample_rate_factor);
00086 
00087    double
00088    getSampleRateFactor() const;
00089 
00090    int
00091    compare(const aflibEditClip& clip);
00092 
00093 
00094 private:
00095 
00096 int       _input_id;
00097 long long _output_start_samples;
00098 long long _output_stop_samples;
00099 long long _input_start_samples;
00100 long long _input_stop_samples;
00101 double    _sample_rate_factor;
00102 
00103 };
00104 
00105 
00106 #endif

Generated at Tue Aug 7 22:18:06 2001 for Open Source Audio Library Project by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001