Commit f6294605 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

CMake default core ini file fix

parent fa232092
......@@ -33,6 +33,12 @@ endif( NOT DEFINED ITA_VACORE_VERSION_MINOR )
# Settings
if( NOT DEFINED ITA_VACORE_DEFAULT_CONFIG_FILE_NAME )
set( ITA_VACORE_DEFAULT_CONFIG_FILE_NAME "VACore.ini" CACHE STRING "Default VACore configuration file name (INI file)" )
endif( NOT DEFINED ITA_VACORE_DEFAULT_CONFIG_FILE_NAME )
if( NOT DEFINED ITA_VACORE_DEFAULT_DEBUG_LEVEL )
set( ITA_VACORE_DEFAULT_DEBUG_LEVEL 3 CACHE INT "Default VACore debug level (0-5)" )
endif( NOT DEFINED ITA_VACORE_DEFAULT_DEBUG_LEVEL )
......@@ -142,6 +148,8 @@ endif()
if( ${ITA_VACORE_EVENTS_ENABLED} )
add_definitions( "-DVVACORE_EVENTS_ENABLED=1" )
endif()
add_definitions( "-DVA_DEFAULT_CONFIGFILE=\"VACore.ini\"" )
add_definitions( "-DVACORE_MAX_NUM_SOURCES=${ITA_VACORE_MAX_NUM_SOURCES}" )
add_definitions( "-DVACORE_MAX_NUM_LISTENERS=${ITA_VACORE_MAX_NUM_LISTENERS}" )
......
......@@ -72,7 +72,7 @@ Buffersize = AUTO
[Renderer:MyBinauralFreefield]
Class = BinauralFreefield
Enabled = true
Enabled = false
Outputs = MyTalkthroughHeadphones
HRIRFilterLength = 256
MotionModelNumHistoryKeys = 10000
......@@ -108,11 +108,11 @@ SpeedOfSound = 344.0
[Renderer:MyBinauralRoomAcoustics]
Class = BinauralRoomAcoustics
Enabled = false
Enabled = true
Outputs = MyTalkthroughHeadphones
# Setup options: Local, Remote, Hybrid
Setup = Local
ServerIP = PC-SEACEN
Setup = Remote
ServerIP = localhost
HybridLocalTasks = DS
HybridRemoteTasks = ER_IS, DD_RT
RavenDataBasePath = $(VADataDir)
......
......@@ -18,7 +18,7 @@
#include <VAStruct.h>
#ifndef VA_DEFAULT_CONFIGFILE
#define VA_DEFAULT_CONFIGFILE "VACore.ini"
#define VA_DEFAULT_CONFIGFILE "\"VACore.ini\""
#endif // VA_DEFAULT_CONFIGFILE
// Foward declarations
......
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