Commit 29ff099e authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

Merge branch 'develop' of https://git.rwth-aachen.de/ita/VAUnity into develop

parents 55296a7d ae608fdb
......@@ -38,7 +38,7 @@ public class VAUListener : MonoBehaviour {
Debug.Log("[VAU]" + listenername + " created");
_VA.SetListenerHRIRDataset(Listener, VAUAdapter.DefaultHRIR);
SetListenerPositionOrientation();
_VA.SetArtificalReverbarationTime(VAAudioRenderer, 2.0f);
_VA.SetArtificalReverbarationTime(VAAudioRenderer, 0.3f);
reverbZones = FindObjectsOfType(typeof(AudioReverbZone)) as AudioReverbZone[];
}
......
......@@ -134,6 +134,7 @@ public class VAUSoundSource : MonoBehaviour {
void OnDestroy()
{
_VA = VAUAdapter.VA;
if (_VA.IsConnected())
{
_VA.DeleteSoundSource(SoundSource);
......
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