view sv/filter/Filter.cpp @ 88:5060939ca69d

enable/disable audio FilterStack WaitCursor for the search
author benoitrigolleau
date Thu, 28 Jun 2007 16:17:36 +0000
parents 51a12971e10e
children bb04d9df8b41
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. 
	
	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.
*/
 
#include "Filter.h"

Filter::Filter() : PropertyContainer(),
	m_sourceChannelCount(0),
	filterEnabled(true)
{}

Filter::~Filter()
{}

bool Filter::isFilterEnabled(){
	return filterEnabled;
}


void Filter::setFilterEnabled(bool b){
	filterEnabled=b;
	emit filterEnableChanged(b);
}

void Filter::setFilterEnabled(int b){
	filterEnabled=b;
	emit filterEnableChanged(b);
}