Fixing new naming convention for generic path (leading 'prototype')

parent a2f0988b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
va = itaVA( 'localhost' ) va = itaVA( 'localhost' )
va.reset(); va.reset();
X = va.createAudiofileSignalSource( '$(VADataDir)\Audiofiles\Bauer.wav' ); X = va.createAudiofileSignalSource( 'Audiofiles/Bauer.wav' );
va.setAudiofileSignalSourcePlaybackAction( X, 'play' ); va.setAudiofileSignalSourcePlaybackAction( X, 'play' );
va.setAudiofileSignalSourceIsLooping( X, true ); va.setAudiofileSignalSourceIsLooping( X, true );
S = va.createSoundSource( 'itaVA_Source' ); S = va.createSoundSource( 'itaVA_Source' );
...@@ -14,7 +14,7 @@ mMods = va.enumerateModules; ...@@ -14,7 +14,7 @@ mMods = va.enumerateModules;
modname = 'none'; modname = 'none';
for n = size( mMods, 1 ) for n = size( mMods, 1 )
if strcmp( 'GenericPath', mMods(n).name(1:11) ) if strcmp( 'PrototypeGenericPath', mMods(n).name( 1:size( 'PrototypeGenericPath', 2 ) ) )
modname = mMods(n).name; modname = mMods(n).name;
break; % use first one found break; % use first one found
end 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