Commit bbe1ddc9 authored by Shaimaa Doma's avatar Shaimaa Doma
Browse files

include userData in itaHRTF initialization/loading

parent c0540208
......@@ -122,7 +122,7 @@ classdef itaHRTF < itaAudio
if nargin > 1 || (nargin == 1 && (ischar(varargin{1}) || isa(varargin{1},'itaAudio')))
iniAudio = [];
elseif nargin == 1 && isstruct(varargin{1})
fNames = {'domain','data','signalType','samplingRate'};
fNames = {'domain','data','signalType','samplingRate','userData'}; % todo: propertiesLoad should be used
for idxFN = 1:numel(fNames)
iniAudio.(fNames{idxFN}) = varargin{1}.(fNames{idxFN});
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