Commit ae608fdb authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

little bugfix

parent b401b247
......@@ -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[];
}
......
......@@ -133,6 +133,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