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)
VACore
Commits
29ab6fc8
Commit
29ab6fc8
authored
Jan 10, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Reordering update chain in room acoustics renderer
parent
9d740ff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Rendering/Binaural/RoomAcoustics/VARoomAcousticsAudioRenderer.cpp
View file @
29ab6fc8
...
...
@@ -1840,7 +1840,8 @@ void CVARoomAcousticsAudioRenderer::ProcessStream( const ITAStreamInfo* pStreamI
// bei Zuordnung einer anderen Signalquelle ndern kann.
CVASoundSourceDesc
*
pSourceData
=
pPath
->
pSource
->
pData
;
IVAAudioSignalSource
*
pSignalSourceInfo
=
pSourceData
->
pSignalSource
;
ITASampleBuffer
*
psbInput
=
pSourceData
->
pSignalSourceInputBuf
.
get
();
// atomar
pPath
->
pMediumPropagationVDL
->
Process
(
pSourceData
->
pSignalSourceInputBuf
,
&
m_psbVDLTempOut
);
// Lautstrke der Schallquelle anwenden
// TODO zugriff sichern! Gefhrlich, wenn CurScene nicht existiert
...
...
@@ -1849,10 +1850,10 @@ void CVARoomAcousticsAudioRenderer::ProcessStream( const ITAStreamInfo* pStreamI
{
double
dVolume
=
pSourceStateCur
->
GetVolume
(
m_oParams
.
pCore
->
GetCoreConfig
()
->
dDefaultAmplitudeCalibration
);
if
(
dVolume
!=
1.0
f
)
psb
Input
->
mul_scalar
(
(
float
)
dVolume
);
m_
psb
VDLTempOut
.
mul_scalar
(
(
float
)
dVolume
);
}
pPath
->
pMediumPropagationVDL
->
Process
(
psbInput
,
&
m_psbVDLTempOut
);
pPath
->
pRIRConvolverCh0
->
Process
(
m_psbVDLTempOut
.
data
(),
pfOutputCh0
,
ITABase
::
MixingMethod
::
ADD
);
pPath
->
pRIRConvolverCh1
->
Process
(
m_psbVDLTempOut
.
data
(),
pfOutputCh1
,
ITABase
::
MixingMethod
::
ADD
);
...
...
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