Commit 0291fba8 authored by emerit's avatar emerit
Browse files

fix script one step back

parent 7f7e5370
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -47,11 +47,10 @@ header.chunksize = 0;

%% parse IVAS enum
% read the file
hrtf_file_reader_path = fullfile(ivas_path, 'lib_util/hrtf_file_reader.h'); % must be replaced if this file is moved
ivas_cnst_path = fullfile(ivas_path, 'lib_com/ivas_cnst.h'); % must be replaced if this file is moved
c = fileread(hrtf_file_reader_path);

% regex for RENDERER_TYPE
rt_expr = '^\s+(HRTF_READER_RENDERER\w+)';
rt_expr = '^\s+(RENDERER\w+)';
rt_tok = regexp(c, rt_expr, 'tokens', 'dotexceptnewline', 'lineanchors');

renderer_types = convertCharsToStrings(cat(1,rt_tok{:}));