Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITADataSources
Commits
fff798a6
Commit
fff798a6
authored
Dec 22, 2016
by
Dipl.-Ing. Jonas Stienen
Browse files
Messaging protocol running, payload missing
parent
e67a12f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITANetAudioStreamingClient.cpp
View file @
fff798a6
...
...
@@ -89,7 +89,8 @@ bool CITANetAudioStreamingClient::LoopBody()
// Wait for answer of server
m_pMessage
->
ReadAnswer
();
switch
(
m_pMessage
->
GetAnswerType
()
)
int
iAnswerType
=
m_pMessage
->
GetAnswerType
();
switch
(
iAnswerType
)
{
case
CITANetAudioProtocol
::
NP_INVALID
:
...
...
@@ -102,8 +103,7 @@ bool CITANetAudioStreamingClient::LoopBody()
break
;
case
CITANetAudioProtocol
::
NP_SERVER_SEND_SAMPLES
:
// 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 )
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment