Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
4638d336
Commit
4638d336
authored
Oct 26, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Fixing new naming convention for generic path (leading 'prototype')
parent
a2f0988b
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/VirtualAcoustics/VA/itaVA_example_generic_path_renderer.m
View file @
4638d336
...
...
@@ -2,7 +2,7 @@
va
=
itaVA
(
'localhost'
)
va
.
reset
();
X
=
va
.
createAudiofileSignalSource
(
'
$(VADataDir)\
Audiofiles
\
Bauer.wav'
);
X
=
va
.
createAudiofileSignalSource
(
'Audiofiles
/
Bauer.wav'
);
va
.
setAudiofileSignalSourcePlaybackAction
(
X
,
'play'
);
va
.
setAudiofileSignalSourceIsLooping
(
X
,
true
);
S
=
va
.
createSoundSource
(
'itaVA_Source'
);
...
...
@@ -14,7 +14,7 @@ mMods = va.enumerateModules;
modname
=
'none'
;
for
n
=
size
(
mMods
,
1
)
if
strcmp
(
'GenericPath'
,
mMods
(
n
)
.
name
(
1
:
11
)
)
if
strcmp
(
'
Prototype
GenericPath'
,
mMods
(
n
)
.
name
(
1
:
size
(
'PrototypeGenericPath'
,
2
)
)
)
modname
=
mMods
(
n
)
.
name
;
break
;
% use first one found
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment