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

Messaging protocol running, payload missing

parent e67a12f1
......@@ -89,7 +89,8 @@ bool CITANetAudioStreamingClient::LoopBody()
// Wait for answer of server
switch( m_pMessage->GetAnswerType() )
int iAnswerType = m_pMessage->GetAnswerType();
switch( iAnswerType )
case CITANetAudioProtocol::NP_INVALID:
......@@ -102,8 +103,7 @@ bool CITANetAudioStreamingClient::LoopBody()
// Receive samples and forward them to the stream ring buffer
int iFreeSamples = m_pMessage->ReadInt();
// Receive samples from net message and forward them to the stream ring buffer
//int iNumSamples = m_pMessage->ReadSampleFrame( &m_sfReceivingBuffer );
//if( m_pStream->GetRingbufferFreeSamples() >= iNumSamples )
Supports Markdown
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