Commit 3531b26a authored by Anne Heimes's avatar Anne Heimes

debug auskommentiert

parent be88dcb0
......@@ -155,7 +155,8 @@ void CITANetAudioMessage::WriteMessage()
oLog.sAction = "write_message";
oLog.dInternalProcessingTime = ITAClock::getDefaultClock()->getTime() - dInTime;
m_pMessageLogger->log( oLog );
std::cout << GetMessageLoggerBaseName() << " Write: Groesse:" << oLog.nMessagePayloadSize << " MsgType:" << oLog.sMessageType << " MsgID: " << oLog.uiBlockId << std::endl;
//std::cout << GetMessageLoggerBaseName() << " Write: Groesse:" << oLog.nMessagePayloadSize << " MsgType:" << oLog.sMessageType << " MsgID: " << oLog.uiBlockId << std::endl;
#if NET_AUDIO_SHOW_TRAFFIC
vstr::out() << "CITANetAudioMessage [ Writing] " << m_nMessageType << " (id=" << std::setw( 4 ) << m_nMessageId << ")" << std::endl;
......@@ -215,7 +216,7 @@ bool CITANetAudioMessage::ReadMessage( int timeout )
// we need at least the two protocol ints
//assert( nMessagePayloadSize >= 2 * sizeof( VistaType::sint32 ) );
std::cout << GetMessageLoggerBaseName() << " Read: " << nMessagePayloadSize << std::endl;
//std::cout << GetMessageLoggerBaseName() << " Read: " << nMessagePayloadSize << std::endl;
if( nMessagePayloadSize > ( int ) m_vecIncomingBuffer.size() )
m_vecIncomingBuffer.resize( nMessagePayloadSize );
......@@ -242,7 +243,8 @@ bool CITANetAudioMessage::ReadMessage( int timeout )
m_oIncoming.SetBuffer( &m_vecIncomingBuffer[ 0 ], nMessagePayloadSize, false );
m_nMessageType = ReadInt();
m_nMessageId = ReadInt();
std::cout << GetMessageLoggerBaseName() << " Read: MsgType:" << m_nMessageType << " MsgID: " << m_nMessageId << std::endl;
//std::cout << GetMessageLoggerBaseName() << " Read: MsgType:" << m_nMessageType << " MsgID: " << m_nMessageId << std::endl;
oLog.sMessageType = CITANetAudioProtocol::GetNPMessageID( m_nMessageType );
oLog.uiBlockId = m_nMessageId;
......
......@@ -23,7 +23,7 @@ const static string g_sServerName = "localhost";
const static string g_sInputFilePath = "gershwin-mono.wav";
const static int g_iServerPort = 12480;
const static double g_dSampleRate = 44100;
const static int g_iBlockLength = 32;
const static int g_iBlockLength = 128;
const static int g_iChannels = 100;
const static int g_iTargetLatencySamples = g_iBlockLength * 10;
const static int g_iRingerBufferCapacity = g_iBlockLength * 20;
......
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