Skip to content
GitLab
Menu
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
c1f56f7a
Commit
c1f56f7a
authored
Feb 21, 2017
by
Anne Heimes
Browse files
bugfix Server freebuffer selbst kalkulieren
parent
cb02e20d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITANetAudioStreamingServer.cpp
View file @
c1f56f7a
...
...
@@ -221,7 +221,7 @@ bool CITANetAudioStreamingServer::LoopBody( )
{
/*
// Neue Sample bei ca 1ms (0,9ms) warten
float dSamples = 0.00
11
* m_pInputStream->GetSampleRate();
float dSamples = 0.00
09
* m_pInputStream->GetSampleRate();
int iSamples = ( int ) dSamples;
int offset = iSamples % m_pInputStream->GetBlocklength( );
m_iClientRingBufferFreeSamples += iSamples - offset;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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