Skip to content

Commit 66a1234

Browse files
singalsulgirdwood
authored andcommitted
Audio: SRC: Tune: Add pkg load signal for Octave
The added check loads for Octave the signal package. In Matlab it is available if licensed without need for explicitly loading it. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 97777e9 commit 66a1234

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/audio/src/tune/sof_src_generate.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
error('Sample rates in/out matrix size mismatch!');
5050
end
5151

52+
if exist('OCTAVE_VERSION', 'builtin')
53+
pkg load signal
54+
end
55+
56+
5257
%% Exported coefficients type int16, int24, int32, float
5358

5459
switch cfg.ctype

0 commit comments

Comments
 (0)