Commit c1f56f7a authored by Anne Heimes's avatar Anne Heimes

bugfix Server freebuffer selbst kalkulieren

parent cb02e20d
......@@ -221,7 +221,7 @@ bool CITANetAudioStreamingServer::LoopBody( )
{
/*
// Neue Sample bei ca 1ms (0,9ms) warten
float dSamples = 0.0011 * m_pInputStream->GetSampleRate();
float dSamples = 0.0009 * m_pInputStream->GetSampleRate();
int iSamples = ( int ) dSamples;
int offset = iSamples % m_pInputStream->GetBlocklength( );
m_iClientRingBufferFreeSamples += iSamples - offset;
......
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