view sv/filter/EqualizerFilter.h @ 223:c413e82a4812

reorganise RealTimeFilter for Equalizer integration
author lbajardsilogic
date Mon, 11 Feb 2008 15:17:54 +0000
parents
children 3200ed3fc957
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

/*	Sound Access	
		EASAIER client application.	
		Silogic 2007. Laure Bajard. 
	
	Integration of the filter provided by:
	Dublin Institute of Technology - Audio Research Group 2007
	www.audioresearchgroup.com
	Author: Dan Barry

	This program is free software; you can redistribute it and/or    
	modify it under the terms of the GNU General Public License as    
	published by the Free Software Foundation; either version 2 of the    
	License, or (at your option) any later version.  See the file    
	COPYING included with this distribution for more information.
*/

#ifndef _EQUALIZER_FILTER_H_
#define _EQUALIZER_FILTER_H_

#include "base/PropertyContainer.h"

class EqualizerFilter : public PropertyContainer
{
	Q_OBJECT

public:
	EqualizerFilter();
	virtual ~EqualizerFilter();

	virtual QString getPropertyContainerIconName() const {return "";}

	virtual QString getPropertyContainerName() const {return "Time and Pitch filter";}
    
	virtual PropertyList getProperties() const;
	virtual QString getPropertyLabel(const PropertyName &) const;
	virtual PropertyType getPropertyType(const PropertyName &) const;
	virtual int getPropertyRangeAndValue(const PropertyName &,
                                         int *min, int *max, int *deflt) const;
    virtual QString getPropertyValueLabel(const PropertyName &,
					  int value) const;

	virtual void setProperty(const PropertyName &, int value);

signals: 
	void filterEnabled(bool);

public slots :
	void setFilterEnabled(bool b);
	void setFilterEnabled(int b);

protected:
	
};

#endif