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

Renaming configured 'outputs' of rendering modules to 'reproductions'

parent b384c8e3
......@@ -128,7 +128,7 @@ DefaultShiftSpeed = 0.0, 0.0, 0.0 # 3D vector in m/s
[Renderer:MyBinauralFreeField]
Enabled = true
Class = BinauralFreeField
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
OutputDetectorEnabled = false
RecordOutputEnabled = false
RecordOutputFilePath = $(ProjectName)_Renderer_MyBinauralFreeField_Output.wav
......@@ -147,12 +147,12 @@ class = AmbientMixer
Description = Low-cost renderer to make sound audible without spatializations
Enabled = false
OutputGroup = MyDesktopHP
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
[Renderer:MyBinauralArtificialReverb]
Class = BinauralArtificialReverb
Enabled = false
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
ReverberationTime = 0.71
RoomVolume = 200
RoomSurfaceArea = 88
......@@ -167,7 +167,7 @@ ScatteringCoefficient = 0.1
[Renderer:MyBinauralRoomAcoustics]
Class = BinauralRoomAcoustics
Enabled = false
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
# Setup options: Local, Remote, Hybrid
Setup = Local
ServerIP = PC-SEACEN
......@@ -185,7 +185,7 @@ DirectSoundPowerCorrectionFactor = 0.05
[Renderer:MyMonauralFreeField]
Class = MonauralFreeField
Enabled = false
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
MotionModelNumHistoryKeys = 10000
MotionModelWindowSize = 0.2
MotionModelWindowDelay = 0.1
......@@ -198,8 +198,8 @@ SwitchingAlgorithm = linear
[Renderer:MyHearingAidRenderer]
Class = PrototypeHearingAid
Enabled = false
Outputs = HearingAidTalkthrough
#Outputs = MyTalkthroughHeadphones
Reproductions = HearingAidTalkthrough
#Reproductions = MyTalkthroughHeadphones
UpdateRateDS = 120.0
UpdateRateIS = 20.0
UpdateRateRT = 1.0
......@@ -214,7 +214,7 @@ DumpListenersGain = 10
[Renderer:MyGenericRenderer]
Class = PrototypeGenericPath
Enabled = false
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
NumChannels = 2
IRFilterLengthSamples = 88200
IRFilterDelaySamples = 0
......@@ -223,14 +223,14 @@ OutputMonitoring = true
[Renderer:MyAirTrafficNoiseRenderer]
Class = BinauralAirTrafficNoise
Enabled = false
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
[Renderer:MyVBAPFreefield]
Class = VBAPFreeField
Enabled = false
Output = VRLab_Horizontal_LS
Outputs = MixdownHeadphones
Reproductions = MixdownHeadphones
[Renderer:MyDummyRenderer]
......@@ -238,7 +238,7 @@ class = PrototypeDummy
Description = Dummy renderer for testing and benchmarking
Enabled = false
OutputGroup = MyDesktopHP
Outputs = MyTalkthroughHeadphones
Reproductions = MyTalkthroughHeadphones
# --= Audio reproduction =--
......
......@@ -38,7 +38,7 @@ CVAAmbientMixerAudioRenderer::CVAAmbientMixerAudioRenderer( const CVAAudioRender
, m_bIndicateReset( false )
, m_bResetAck( false )
{
assert( m_oParams.vsOutputs.size() > 0 );
assert( m_oParams.vsReproductions.size() > 0 );
CVAConfigInterpreter conf( *m_oParams.pConfig );
......
......@@ -35,7 +35,7 @@ public:
std::string sClass; //!< Renderer class
CVACoreImpl* pCore; //!< Parent core
const CVAStruct* pConfig; //!< Renderer configuration
std::vector< std::string > vsOutputs; //!< Renderer outputs (e.g. Output:HP, Reproduction:CTC4)
std::vector< std::string > vsReproductions; //!< Renderer outputs (e.g. Output:HP, Reproduction:CTC4)
bool bRecordOutputEnabled; //!< Renderer output recording and storing flag
std::string sRecordOutputFilePath; //!< Renderer output recording and storing file path
bool bOutputLevelMeterEnabled; //!< Renderer output level meter will be used (uses a little bit CPU resources)
......
......@@ -4434,8 +4434,8 @@ void CVACoreImpl::InitializeAudioRenderers()
oParams.pCore = this;
oParams.pConfig = &cit->second.GetStruct();
conf.ReqStringListRegex( "Outputs", oParams.vsOutputs, "\\s*,\\s*" );
std::unique( oParams.vsOutputs.begin(), oParams.vsOutputs.end() );
conf.ReqStringListRegex( "Reproductions", oParams.vsReproductions, "\\s*,\\s*" );
std::unique( oParams.vsReproductions.begin(), oParams.vsReproductions.end() );
conf.OptBool( "OutputDetectorEnabled", oParams.bOutputLevelMeterEnabled, false );
......@@ -4477,9 +4477,9 @@ void CVACoreImpl::InitializeAudioRenderers()
int iInput = m_pR2RPatchbay->AddInput( pRendererOutputTail );
// Create direct output in output patchbay for each output group [todo, not allowed yet]
for( size_t i = 0; i < oParams.vsOutputs.size(); i++ )
for( size_t i = 0; i < oParams.vsReproductions.size(); i++ )
{
const std::string& sOutputID( oParams.vsOutputs[ i ] );
const std::string& sOutputID( oParams.vsReproductions[ i ] );
const CVAHardwareOutput* pOutput = m_oCoreConfig.oHardwareSetup.GetOutput( sOutputID );
if( pOutput )
......@@ -4490,7 +4490,7 @@ void CVACoreImpl::InitializeAudioRenderers()
}
oRendererDesc.iR2RPatchBayInput = iInput;
oRendererDesc.vsOutputs = oParams.vsOutputs;
oRendererDesc.vsOutputs = oParams.vsReproductions;
m_voRenderers.push_back( oRendererDesc );
}
}
......
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