Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: Container Registry, Job Artifacs,. Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit 4b281884 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Minor changes

parent 55bcee26
...@@ -91,10 +91,10 @@ private: ...@@ -91,10 +91,10 @@ private:
VistaConnectionIP* m_pConnection; VistaConnectionIP* m_pConnection;
}; };
int main(int , char** ) int main( int , char** )
{ {
CITANAStream* pNetAudioStream = new CITANAStream( 1, g_dSampleRate, g_iBufferSize ); CITANAStream oNetAudioStream( 1, g_dSampleRate, g_iBufferSize );
ITAStreamMultiplier1N oMultiplier( pNetAudioStream, 2 ); ITAStreamMultiplier1N oMultiplier( &oNetAudioStream, 2 );
ITAPortaudioInterface ITAPA( g_dSampleRate, g_iBufferSize ); ITAPortaudioInterface ITAPA( g_dSampleRate, g_iBufferSize );
ITAPA.Initialize(); ITAPA.Initialize();
...@@ -103,16 +103,14 @@ int main(int , char** ) ...@@ -103,16 +103,14 @@ int main(int , char** )
ITAPA.Start(); ITAPA.Start();
// Playback // Playback
float seconds = 10.0f; float fSeconds = 10.0f;
cout << "Playback started, waiting " << seconds << " seconds" << endl; cout << "Playback started, waiting " << fSeconds << " seconds" << endl;
ITAPA.Sleep( seconds ); // blocking ITAPA.Sleep( fSeconds ); // blocking
cout << "Done." << endl; cout << "Done." << endl;
ITAPA.Stop(); ITAPA.Stop();
ITAPA.Close(); ITAPA.Close();
ITAPA.Finalize(); ITAPA.Finalize();
delete pNetAudioStream;
return 0; return 0;
} }
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