Compile clean

parent 2c9a0225
...@@ -66,6 +66,8 @@ public: ...@@ -66,6 +66,8 @@ public:
void SetAutomaticUpdateRate(); void SetAutomaticUpdateRate();
bool LoopBody();
protected: protected:
int Transmit( const ITASampleFrame& sfNewSamples, int iNumSamples ); int Transmit( const ITASampleFrame& sfNewSamples, int iNumSamples );
ITADatasource* GetInputStream() const; ITADatasource* GetInputStream() const;
......
...@@ -88,6 +88,11 @@ void CITANetAudioStreamingServer::SetAutomaticUpdateRate() ...@@ -88,6 +88,11 @@ void CITANetAudioStreamingServer::SetAutomaticUpdateRate()
m_iUpdateStrategy = AUTO; m_iUpdateStrategy = AUTO;
} }
bool CITANetAudioStreamingServer::LoopBody()
{
return true;
}
ITADatasource* CITANetAudioStreamingServer::GetInputStream() const ITADatasource* CITANetAudioStreamingServer::GetInputStream() const
{ {
return m_pInputStream; return m_pInputStream;
......
...@@ -19,9 +19,8 @@ int main( int , char** ) ...@@ -19,9 +19,8 @@ int main( int , char** )
CITANetAudioStreamingServer oStreamingServer; CITANetAudioStreamingServer oStreamingServer;
oStreamingServer.SetInputStream( &oGenerator ); oStreamingServer.SetInputStream( &oGenerator );
CITANetAudioServer oServer( &oStreamingServer );
cout << "Starting server and waiting for connections on '" << g_sServerName << "' on port " << g_iServerPort << endl; cout << "Starting server and waiting for connections on '" << g_sServerName << "' on port " << g_iServerPort << endl;
oServer.Start( g_sServerName, g_iServerPort ); oStreamingServer.Start( g_sServerName, g_iServerPort );
int iKey; int iKey;
cin >> iKey; cin >> iKey;
......
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