Commit 805f2a12 authored by Maurice Tayeb Andreas's avatar Maurice Tayeb Andreas

assert

parent ceee81a9
......@@ -95,15 +95,10 @@ namespace VA
public int LoadHRIRDataset(string FilePath, string Name)
{
try
{
return NativeLoadHRIRDataset(_NetClient, FilePath, Name);
}
catch
{
Debug.Log("HRIR-Error-Catch.");
}
return -1;
int b = NativeLoadHRIRDataset(_NetClient, FilePath, Name);
Debug.Assert(b != -1);
return b;
}
public void FreeHRIRDataset( int HRIR )
......@@ -248,6 +243,10 @@ namespace VA
NativeSetSoundSourceAuralizationMode(_NetClient, iSoundSourceID, sAuralizationMode);
}
public void SetArtificalReverbarationTime(string sRenderer, float fReverTime)
{
}
/*
* Native imported functions from C++ unmanaged library declared private, so they can not be accessed
* directly through C# class method
......
......@@ -13,7 +13,7 @@ public class VAUAdapter : MonoBehaviour {
private static string HostIP = "localhost";
public static string GlobalAuralizationMode = "all";
private static int Port = 12340;
private static string DefaultHRIRPath = "$(DefaultHRI)";
private static string DefaultHRIRPath = "$(DefaultHRIR)";
private static string DefaultDirectivityPath = "$(Trumpet)";
private static int defaulthrir;
private static int defaultdirectivity;
......
......@@ -5,6 +5,6 @@ public class VAUReverbZone : MonoBehaviour {
void OnTriggerEnter(Collider col)
{
Debug.Log("ReverbZone aktualisiert.");
GetComponent<AudioReverbZone>().reve
}
}
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