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
f6843511
Commit
f6843511
authored
Nov 25, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Adding rendering and reproduction module getter with "enabled" filter option
parent
7885735e
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/VirtualAcoustics/VA/itaVA.m
View file @
f6843511
...
...
@@ -1088,6 +1088,24 @@ classdef itaVA < handle
[
dGain
]
=
VAMatlab
(
'getRenderingModuleGain'
,
this
.
handle
,
sModuleID
);
end
function
[]
=
getRenderingModules
(
this
,
bFilterEnabled
)
% Get list of rendering modules
%
% Parameters:
%
% bFilterEnabled [boolean-1x1] Filter activated (true) (optional, default: 1)
%
% Return values:
%
% None
%
if
this
.
handle
==
0
,
error
(
'Not connected.'
);
end
;
if
~
exist
(
'bFilterEnabled'
,
'var'
),
bFilterEnabled
=
1
;
end
VAMatlab
(
'getRenderingModules'
,
this
.
handle
,
bFilterEnabled
);
end
function
[
dGain
]
=
getReproductionModuleGain
(
this
,
sModuleID
)
% Returns the reproduction module output gain
%
...
...
@@ -1105,6 +1123,24 @@ classdef itaVA < handle
[
dGain
]
=
VAMatlab
(
'getReproductionModuleGain'
,
this
.
handle
,
sModuleID
);
end
function
[]
=
getReproductionModules
(
this
,
bFilterEnabled
)
% Get list of rendering modules
%
% Parameters:
%
% bFilterEnabled [boolean-1x1] Filter activated (true) (optional, default: 1)
%
% Return values:
%
% None
%
if
this
.
handle
==
0
,
error
(
'Not connected.'
);
end
;
if
~
exist
(
'bFilterEnabled'
,
'var'
),
bFilterEnabled
=
1
;
end
VAMatlab
(
'getReproductionModules'
,
this
.
handle
,
bFilterEnabled
);
end
function
[
info
]
=
getSceneInfo
(
this
)
% Returns information on the loaded scene
%
...
...
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