Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Institute of Technical Acoustics (ITA)
VACore
Commits
c2692e42
Commit
c2692e42
authored
Feb 15, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming key for module calls / parameter calls
parent
6c320a13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/Rendering/Binaural/FreeField/VABinauralFreeFieldAudioRenderer.cpp
...g/Binaural/FreeField/VABinauralFreeFieldAudioRenderer.cpp
+3
-3
src/Reproduction/Binaural/VANCTCReproduction.cpp
src/Reproduction/Binaural/VANCTCReproduction.cpp
+1
-1
No files found.
src/Rendering/Binaural/FreeField/VABinauralFreeFieldAudioRenderer.cpp
View file @
c2692e42
...
...
@@ -1355,14 +1355,14 @@ CVAStruct CVABinauralFreeFieldAudioRenderer::CallObject( const CVAStruct& oArgs
CVAStruct
oReturn
;
const
CVAStructValue
*
pStruct
;
if
(
(
pStruct
=
oArgs
.
GetValue
(
"AdditionalDelaySeconds"
)
)
!=
nullptr
)
if
(
(
pStruct
=
oArgs
.
GetValue
(
"Additional
Static
DelaySeconds"
)
)
!=
nullptr
)
{
if
(
pStruct
->
GetDatatype
()
!=
CVAStructValue
::
DOUBLE
)
VA_EXCEPT2
(
INVALID_PARAMETER
,
"Additional delay must be a double"
);
oReturn
[
"CurrentAdditionalDelaySeconds"
]
=
m_dAdditionalStaticDelaySeconds
;
oReturn
[
"CurrentAdditional
Static
DelaySeconds"
]
=
m_dAdditionalStaticDelaySeconds
;
m_dAdditionalStaticDelaySeconds
=
*
pStruct
;
oReturn
[
"NewAdditionalDelaySeconds"
]
=
m_dAdditionalStaticDelaySeconds
;
oReturn
[
"NewAdditional
Static
DelaySeconds"
]
=
m_dAdditionalStaticDelaySeconds
;
return
oReturn
;
}
...
...
src/Reproduction/Binaural/VANCTCReproduction.cpp
View file @
c2692e42
...
...
@@ -260,7 +260,7 @@ CVAStruct CVANCTCReproduction::CallObject( const CVAStruct& oArgs )
return
oReturn
;
}
if
(
(
pStruct
=
oArgs
.
GetValue
(
"
a
dd
_d
elay
_t
ime"
)
)
!=
nullptr
)
if
(
(
pStruct
=
oArgs
.
GetValue
(
"
A
dd
itionalD
elay
T
ime"
)
)
!=
nullptr
)
{
if
(
pStruct
->
GetDatatype
()
!=
CVAStructValue
::
DATA
)
VA_EXCEPT2
(
INVALID_PARAMETER
,
"Delay must be a vector of numeric values"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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