aflibMixerItem.h

00001 /*
00002  * Copyright: (C) 2000-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 _AFLIBMIXERITEM_H_
00024 #define _AFLIBMIXERITEM_H_
00025 
00026 
00027 #ifdef HAVE_CONFIG_H
00028 #include <config.h>
00029 #endif
00030 
00031 
00036 class aflibMixerItem {
00037 
00038 public:
00039 
00040    aflibMixerItem();
00041 
00042    aflibMixerItem(
00043       int  input,
00044       int  in_chan,
00045       int  out_chan,
00046       int  amp);
00047 
00048    ~aflibMixerItem();
00049 
00050    void
00051    setInput(int input);
00052 
00053    int
00054    getInput() const;
00055 
00056    void
00057    setInChannel(int in_chan);
00058 
00059    int
00060    getInChannel() const;
00061 
00062    void
00063    setOutChannel(int out_chan);
00064 
00065    int
00066    getOutChannel() const;
00067 
00068    void
00069    setAmplitude(int amp);
00070 
00071    int
00072    getAmplitude() const;
00073 
00074    bool
00075    operator < (const aflibMixerItem& item) const;
00076 
00077 private:
00078 
00079 int   _input;
00080 int   _in_chan;
00081 int   _out_chan;
00082 int   _amp;
00083 
00084 };
00085 
00086 
00087 #endif

Generated on Tue Jan 16 12:42:55 2007 for Open Source Audio Library Project by  doxygen 1.4.6