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