Commit 5fc5cf09 authored by Anne Heimes's avatar Anne Heimes

bugfix

parent f0bf059f
......@@ -388,6 +388,9 @@ CITANetAudioProtocol::StreamingParameters CITANetAudioMessage::ReadStreamingPara
oParams.iTargetSampleLatency = ReadInt();
oParams.dTimeIntervalSendInfos = ReadDouble();
std::string paras = std::string( "NetAudioLogProtocol" ) + std::string( "_BS" ) + std::to_string( oParams.iBlockSize ) + std::string( "_Ch" ) + std::to_string( oParams.iChannels ) + std::string( "_tl" ) + std::to_string( oParams.iTargetSampleLatency ) + std::string( ".txt" );
m_pProtocolLogger->setOutputFile( paras );
return oParams;
}
......@@ -400,7 +403,6 @@ void CITANetAudioMessage::WriteStreamingParameters( const CITANetAudioProtocol::
WriteInt(oParams.iTargetSampleLatency);
WriteDouble(oParams.dTimeIntervalSendInfos);
std::string paras = std::string("NetAudioLogProtocol") + std::string("_BS") + std::to_string(oParams.iBlockSize) + std::string("_Ch") + std::to_string(oParams.iChannels) + std::string("_tl") + std::to_string(oParams.iTargetSampleLatency) + std::string(".txt");
m_pProtocolLogger->setOutputFile(paras);
}
......
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