Commit c3440ab0 authored by Anne's avatar Anne
Browse files

curser initialisiert

parent bba2ed6a
......@@ -113,6 +113,8 @@ CITANetAudioStream::CITANetAudioStream( int iChannels, double dSamplingRate, int
{
m_pNetAudioProducer = new CITANetAudioStreamConnection( this );
m_iReadCursor = 0;
m_iWriteCursor = 0;
}
bool CITANetAudioStream::Connect( const std::string& sAddress, int iPort )
......@@ -163,11 +165,7 @@ int CITANetAudioStream::Transmit( const ITASampleFrame& sfNewSamples, int iNumSa
}
else {
return m_sfRingBuffer.GetLength() - m_iWriteCursor + iCurrentReadCursor;
}
// Threadsave programmieren
}
}
int CITANetAudioStream::GetRingBufferSize() const
......
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