Fixing bug: audio driver output could not be activated because configuration...

Fixing bug: audio driver output could not be activated because configuration was looking for an audio device section instead
parent 23a46335
......@@ -116,16 +116,16 @@ void CVACoreConfig::Init( const CVAStruct& oData )
oHardwareSetup.Init( oData );
conf.OptBool( "Audio device/RecordInputEnabled", bRecordDeviceInputEnabled, false );
conf.OptString( "Audio device/RecordInputFileName", sRecordDeviceInputFileName, "device_in.wav" );
conf.OptBool( "Audio driver/RecordInputEnabled", bRecordDeviceInputEnabled, false );
conf.OptString( "Audio driver/RecordInputFileName", sRecordDeviceInputFileName, "device_in.wav" );
sRecordDeviceInputFileName = mMacros.SubstituteMacros( sRecordDeviceInputFileName );
conf.OptString( "Audio device/RecordInputBaseFolder", sRecordDeviceInputBaseFolder, "recordings/device" );
conf.OptString( "Audio driver/RecordInputBaseFolder", sRecordDeviceInputBaseFolder, "recordings/device" );
sRecordDeviceInputBaseFolder = mMacros.SubstituteMacros( sRecordDeviceInputBaseFolder );
conf.OptBool( "Audio device/RecordOutputEnabled", bRecordDeviceOutputEnabled, false );
conf.OptString( "Audio device/RecordOutputFileName", sRecordDeviceOutputFileName, "device_out.wav" );
conf.OptBool( "Audio driver/RecordOutputEnabled", bRecordDeviceOutputEnabled, false );
conf.OptString( "Audio driver/RecordOutputFileName", sRecordDeviceOutputFileName, "device_out.wav" );
sRecordDeviceOutputFileName = mMacros.SubstituteMacros( sRecordDeviceOutputFileName );
conf.OptString( "Audio device/RecordOutputBaseFolder", sRecordDeviceOutputBaseFolder, "recordings/device" );
conf.OptString( "Audio driver/RecordOutputBaseFolder", sRecordDeviceOutputBaseFolder, "recordings/device" );
sRecordDeviceOutputBaseFolder = mMacros.SubstituteMacros( sRecordDeviceOutputBaseFolder );
conf.OptNumber( "HomogeneousMedium/DefaultRelativeHumidity", oInitialHomogeneousMedium.dRelativeHumidityPercent, g_dDefaultRelativeHumidity );
......
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