Commit 4ac135c6 authored by Anne Heimes's avatar Anne Heimes

bugfixes

parent a898d8fd
......@@ -79,6 +79,7 @@ private:
bool m_bStopIndicated;
bool m_bStopped;
double m_dLastAckknowlengementTimeStamp;
int n;
int iStreamingBlockId;
ITABufferedDataLoggerImplClient* m_pClientLogger;
......
......@@ -53,7 +53,7 @@ CITANetAudioStreamingClient::CITANetAudioStreamingClient( CITANetAudioStream* pP
, m_bStopped( false )
{
m_pClient = new CITANetAudioClient();
n = 0;
m_oParams.iChannels = pParent->GetNumberOfChannels();
m_oParams.dSampleRate = pParent->GetSampleRate( );
m_oParams.iBlockSize = pParent->GetBlocklength();
......@@ -160,6 +160,7 @@ bool CITANetAudioStreamingClient::LoopBody()
#ifdef NET_AUDIO_SHOW_TRAFFIC
vstr::out() << "[ITANetAudioStreamingClient] Recived " << m_sfReceivingBuffer.GetLength() << " samples" << std::endl;
#endif
n++;
break;
case CITANetAudioProtocol::NP_SERVER_GET_RINGBUFFER_FREE_SAMPLES:
m_pMessage->ReadBool();
......
......@@ -41,7 +41,7 @@ int main(int argc, char* argv[])
for ( int i = 0; i < N; i++ )
oPatchbay.ConnectChannels( 0, i, 0, i % 2, 1 / double( N ) );
ITAStreamProbe oProbe( oPatchbay.GetOutputDatasource( iOutputID ), "ITANetAudioTest.stream.wav" );
//ITAStreamProbe oProbe( oPatchbay.GetOutputDatasource( iOutputID ), "ITANetAudioTest.stream.wav" );
ITAsioInitializeLibrary();
......@@ -90,7 +90,7 @@ int main(int argc, char* argv[])
}
ITAsioSetPlaybackDatasource(&oProbe);
ITAsioSetPlaybackDatasource(oPatchbay.GetOutputDatasource(iOutputID));
if (ITAsioStart() != ASE_OK) {
ITAsioFinalizeLibrary();
......
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