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
94cbeead
Commit
94cbeead
authored
Nov 12, 2019
by
Michael Kohnen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small adaptions
parent
f0e5f1b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/Rendering/VBAP/Freefield/VAVBAPFreefieldAudioRenderer.cpp
...Rendering/VBAP/Freefield/VAVBAPFreefieldAudioRenderer.cpp
+3
-0
src/Reproduction/Ambisonics/VAReproductionAmbisonicsBinauralMixdown.cpp
...on/Ambisonics/VAReproductionAmbisonicsBinauralMixdown.cpp
+4
-1
No files found.
src/Rendering/VBAP/Freefield/VAVBAPFreefieldAudioRenderer.cpp
View file @
94cbeead
...
...
@@ -393,6 +393,9 @@ void CVAVBAPFreeFieldAudioRenderer::HandleProcessStream( ITADatasourceRealizatio
double
dOverallGain
=
pState
->
GetVolume
(
m_oParams
.
pCore
->
GetCoreConfig
()
->
dDefaultAmplitudeCalibration
);
// Lautsrke der Quelle einstellen
dOverallGain
/=
vSoundSource
.
Length
();
// 1/r Gesetz
// if (oPath->pSource->pData->bMuted || (bDSEnabled == false))
// fSoundSourceGain = 0.0f;
for
(
int
k
=
0
;
k
<
vdLoudspeakerGains
.
size
();
k
++
)
// anwenden
{
...
...
src/Reproduction/Ambisonics/VAReproductionAmbisonicsBinauralMixdown.cpp
View file @
94cbeead
...
...
@@ -67,6 +67,7 @@ CVAAmbisonicsBinauralMixdownReproduction::CVAAmbisonicsBinauralMixdownReproducti
,
m_pDefaultHRIR
(
nullptr
)
,
m_matYinv
(
nullptr
)
,
m_orderMatrices
()
,
m_bBFormatIsInit
(
false
)
,
m_dTrackingDelaySeconds
(
0
)
{
CVAConfigInterpreter
conf
(
*
(
m_oParams
.
pConfig
));
...
...
@@ -585,7 +586,7 @@ void CVAAmbisonicsBinauralMixdownReproduction::UpdateScene(CVASceneState* pNewSt
if
(
m_sRotationMode
==
"BFormat"
)
{
if
(
m_sRotationMode
==
"BFormat"
&&
m_bBFormatIsInit
)
{
//Calculate Rotation from Listener to Origin
//rotate ListenerUp to point Up in standard Up-Vector(0,1,0)
VistaQuaternion
qUpToOrigin
(
vvListenerUp
,
vvStandardListenerUp
);
...
...
@@ -759,6 +760,8 @@ void CVAAmbisonicsBinauralMixdownReproduction::UpdateScene(CVASceneState* pNewSt
pFilterChL
->
Release
();
pFilterChR
->
Release
();
m_bBFormatIsInit
=
true
;
}
}
else
{
...
...
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