Commit 01cb7c2a authored by Anne Heimes's avatar Anne Heimes

sendet jetzt bis buffer voll und horcht erst dann - not running

parent a37247be
......@@ -118,6 +118,8 @@ bool CITANetAudioStreamingServer::LoopBody( )
if ( m_iClientRingBufferFreeSamples >= int( m_pInputStream->GetBlocklength( ) ) )
{
// Send Samples
while ( m_iClientRingBufferFreeSamples >= int( m_pInputStream->GetBlocklength( ) ) )
{
for ( int i = 0; i < int( m_pInputStream->GetNumberOfChannels( ) ); i++ )
{
ITAStreamInfo oStreamInfo;
......@@ -137,6 +139,7 @@ bool CITANetAudioStreamingServer::LoopBody( )
<< m_pInputStream->GetNumberOfChannels( ) << " channels" << std::endl;
#endif
}
}
else
{
// Waiting for Trigger
......
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