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
504b00bb
Commit
504b00bb
authored
Mar 01, 2017
by
Anne Heimes
Browse files
bugfix blocklänge server
parent
7f3de3ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITANetAudioStreamingServer.cpp
View file @
504b00bb
...
...
@@ -91,6 +91,7 @@ bool CITANetAudioStreamingServer::Start( const std::string& sAddress, int iPort
bool
bOK
=
false
;
m_oServerParams
.
iRingBufferSize
=
oClientParams
.
iRingBufferSize
;
m_oServerParams
.
iTargetSampleLatency
=
oClientParams
.
iTargetSampleLatency
;
m_oServerParams
.
iBlockSize
=
oClientParams
.
iBlockSize
;
m_iClientRingBufferFreeSamples
=
m_oServerParams
.
iTargetSampleLatency
;
m_dLastTimeStamp
=
ITAClock
::
getDefaultClock
()
->
getTime
();
...
...
@@ -99,9 +100,11 @@ bool CITANetAudioStreamingServer::Start( const std::string& sAddress, int iPort
bOK
=
true
;
#ifdef NET_AUDIO_SHOW_TRAFFIC
vstr
::
out
()
<<
"[ITANetAudioStreamingServer] Server and client parameters matched. Will resume with streaming"
<<
std
::
endl
;
#endif
}
else
{
#ifdef NET_AUDIO_SHOW_TRAFFIC
vstr
::
out
()
<<
"[ITANetAudioStreamingServer] Server and client parameters mismatch detected. Will notify client and stop."
<<
std
::
endl
;
#endif
}
...
...
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