Commit b69c89f4 authored by Mueller-Trapet's avatar Mueller-Trapet

make sure we have even samples

parent ec005643
......@@ -15,6 +15,8 @@ function varargout = ita_demosound(varargin)
% Created: 16-Aug-2011
result = ita_resample(ita_read('itademosong.ita'),ita_preferences('samplingRate'));
% make even samples
result.nSamples = floor(result.nSamples/2)*2;
%% Find output parameters
varargout(1) = {result};
......
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