Commit b3eeb328 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix for equalization filters

parent c784091e
......@@ -497,10 +497,11 @@ classdef itaMSPlaybackRecord < itaMSRecord
function set_outputChannels(this,value)
this.mOutputChannels = value;
if (this.outputEqualizationFilters.nChannels ~= 1)
this.outputEqualizationFilters = [];
ita_verbose_info('Output Equalization Filter are removed!',0);
if ~isempty(this.outputEqualizationFilters)
if (this.outputEqualizationFilters.nChannels ~= 1)
this.outputEqualizationFilters = [];
ita_verbose_info('Output Equalization Filter are removed!',0);
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment