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)
VAUnity
Commits
805f2a12
Commit
805f2a12
authored
Dec 07, 2016
by
Maurice Tayeb Andreas
Browse files
assert
parent
ceee81a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
VACS.cs
View file @
805f2a12
...
...
@@ -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
...
...
VAUAdapter.cs
View file @
805f2a12
...
...
@@ -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
=
"$(DefaultHRI
R
)"
;
private
static
string
DefaultDirectivityPath
=
"$(Trumpet)"
;
private
static
int
defaulthrir
;
private
static
int
defaultdirectivity
;
...
...
VAUReverbZone.cs
View file @
805f2a12
...
...
@@ -5,6 +5,6 @@ public class VAUReverbZone : MonoBehaviour {
void
OnTriggerEnter
(
Collider
col
)
{
Debug
.
Log
(
"ReverbZone aktualisiert."
);
GetComponent
<
AudioReverbZone
>().
reve
}
}
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