00001 /* 00002 Copyright (C) 2007 Remon Sijrier 00003 00004 This file is part of Traverso 00005 00006 Traverso is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00019 00020 */ 00021 00022 #ifndef AUDIO_PROCESSING_ITEM_H 00023 #define AUDIO_PROCESSING_ITEM_H 00024 00025 #include "APILinkedList.h" 00026 00027 class GainEnvelope; 00028 class PluginChain; 00029 00030 class AudioProcessingItem : public APILinkedListNode 00031 { 00032 public: 00033 AudioProcessingItem () {} 00034 ~AudioProcessingItem () {} 00035 00036 bool is_muted() const {return m_isMuted;} 00037 virtual bool is_smaller_then(APILinkedListNode* node) = 0; 00038 00039 protected: 00040 GainEnvelope* m_fader; 00041 PluginChain* m_pluginChain; 00042 bool m_isMuted; 00043 }; 00044 00045 #endif
1.5.5