Commit c43e3fe1 authored by lmoesch's avatar lmoesch

WIP

parent f0cdeb72
...@@ -9,42 +9,49 @@ ...@@ -9,42 +9,49 @@
using namespace std; using namespace std;
int main( int, char** ) CVAStruct GetCoreConfig()
{ {
IVAInterface* pCore = NULL; CVAStruct oConfig;
try
{ CVAStruct oSectionDebug;
CVAStruct oConfig; oSectionDebug["loglevel"] = 5;
oConfig["debug"] = oSectionDebug;
CVAStruct oSectionDriver;
oSectionDriver["driver"] = "Portaudio";
oConfig["audio driver"] = oSectionDriver;
CVAStruct oDevice1;
oDevice1["type"] = "HP";
oDevice1["channels"] = "1,2";
oConfig["OutputDevice:MyHP"] = oDevice1;
CVAStruct oSectionDebug; CVAStruct oOutput1;
oSectionDebug[ "loglevel" ] = 1; oOutput1["devices"] = "MyHP";
oConfig[ "debug" ] = oSectionDebug; oConfig["Output:MyDesktopHP"] = oOutput1;
CVAStruct oSectionDriver; CVAStruct oReproduction1;
oSectionDriver[ "driver" ] = "Portaudio"; oReproduction1["class"] = "Talkthrough";
oConfig[ "audio driver" ] = oSectionDriver; oReproduction1["outputs"] = "MyDesktopHP";
oConfig["Reproduction:Talkthrough"] = oReproduction1;
CVAStruct oDevice1; CVAStruct oRenderer1;
oDevice1[ "type" ] = "HP"; oRenderer1["class"] = "BinauralRealTime";
oDevice1[ "channels" ] = "1,2"; oRenderer1["Reproductions"] = "MyTalkthroughHeadphones";
oConfig[ "OutputDevice:MyHP" ] = oDevice1; oConfig["Renderer:BRT_CoreTest"] = oRenderer1;
CVAStruct oOutput1;
oOutput1[ "devices" ] = "MyHP";
oConfig[ "Output:MyDesktopHP" ] = oOutput1;
CVAStruct oReproduction; return oConfig;
oReproduction[ "class" ] = "Talkthrough"; }
oReproduction[ "outputs" ] = "MyDesktopHP";
oConfig[ "Reproduction:MyTalkthroughHeadphones" ] = oReproduction; int main( int, char** )
{
IVAInterface* pCore = NULL;
try
{
CVAStruct oRenderer;
oRenderer[ "class" ] = "BinauralRealTime";
oRenderer[ "outputs" ] = "MyTalkthroughHeadphones";
oRenderer[ "outputgroup" ] = "MyDesktopHP";
oConfig[ "Renderer:BenchmarkDummyRenderer" ] = oRenderer;
pCore = VACore::CreateCoreInstance( oConfig ); pCore = VACore::CreateCoreInstance( GetCoreConfig());
pCore->Initialize(); pCore->Initialize();
int iIterations = 100; int iIterations = 100;
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralClusterEngine" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralClusterEngine" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\BinauralClusterEngine" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\BinauralClusterEngine" )
set( DirFiles set( DirFiles
VABinauralClusterEngine.cpp VABinauralClusterEngine.cpp
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <VA.h> #include <VA.h>
#include <VAPoolObject.h> #include <VAPoolObject.h>
#include "../../../../../VACoreImpl.h" #include "../../../../../core/core.h"
#include "../../../../../Motion/VAMotionModelBase.h" #include "../../../../../Motion/VAMotionModelBase.h"
#include "../../../../../Motion/VASharedMotionModel.h" #include "../../../../../Motion/VASharedMotionModel.h"
#include "../../../../../Scene/VAScene.h" #include "../../../../../Scene/VAScene.h"
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralListener" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralListener" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\BinauralListener" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\BinauralListener" )
set( DirFiles set( DirFiles
VABinauralListener.cpp VABinauralListener.cpp
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralSoundSource" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralSoundSource" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\BinauralSoundSource" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\BinauralSoundSource" )
set( DirFiles set( DirFiles
VABinauralSoundSource.cpp VABinauralSoundSource.cpp
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralTimeOfArrivalEstimator" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/BinauralTimeOfArrivalEstimator" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\BinauralTimeOfArrivalEstimator" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\BinauralTimeOfArrivalEstimator" )
set( DirFiles set( DirFiles
VABinauralTOAEstimator.cpp VABinauralTOAEstimator.cpp
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/Config" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/Config" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\Config" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\Config" )
set( DirFiles set( DirFiles
VAConfig.cpp VAConfig.cpp
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/RelationMetrics" ) set( RelativeDir "src/Rendering/Binaural/RealTime/Utils/RelationMetrics" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils\\RelationMetrics" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils\\RelationMetrics" )
set( DirFiles set( DirFiles
VARelationMetrics.cpp VARelationMetrics.cpp
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/Realtime/Utils" ) set( RelativeDir "src/Rendering/Binaural/Realtime/Utils" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\Realtime\\Utils" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\Realtime\\Utils" )
set( SubDirs BinauralListener BinauralClusterEngine BinauralSoundSource BinauralTimeOfArrivalEstimator RelationMetrics Config) set( SubDirs BinauralListener BinauralClusterEngine BinauralSoundSource BinauralTimeOfArrivalEstimator RelationMetrics Config)
set( DirFiles set( DirFiles
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// VA Includes // VA Includes
#include <VA.h> #include <VA.h>
#include <VAObjectPool.h> #include <VAObjectPool.h>
#include "../../../VACoreImpl.h" #include "../../../core/core.h"
#include "../../../Utils/VAUtils.h" #include "../../../Utils/VAUtils.h"
// VA Core Includes // VA Core Includes
......
# $Id:$ # $Id:$
set( RelativeDir "src/Rendering/Binaural/RealTime" ) set( RelativeDir "src/Rendering/Binaural/RealTime" )
set( RelativeSourceGroup "Source Files\\Rendering\\Binaural\\RealTime" ) set( RelativeSourceGroup "src\\Rendering\\Binaural\\RealTime" )
set( SubDirs Utils ) set( SubDirs Utils )
set( DirFiles set( DirFiles
......
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