Skip to content
Snippets Groups Projects
Select Git revision
  • 640cc41df99b8d39c1fd3a76ca2267d5a5b8fd8e
  • master default protected
  • dev protected
  • Issue/3003-stsInstitute
  • gitkeep
  • Hotfix/2775-dfnCertRollover
  • Hotfix/2592-sameProvider
  • Hotfix/1234-handlingMergeToken
  • Hotfix/2576-certificatePatch
  • Issue/2309-docs
  • Issue/2325-fixApiTokenMerging
  • Issue/1974-shibbolethLogout
  • Fix/xxxx-migrateLogin
  • Hotfix/2169-ignoreAuthContext
  • Experimental/newSaml2
  • Issue/2147-exchangingCoscineCertificate-step2
  • Issue/2147-exchangingCoscineCertificate
  • Issue/2147-exchangingCoscineCertificate-step3
  • uiv2
  • Issue/2115-extendParsingPairwiseId
  • Hotfix/2103-RepositoryurlstoConsulUpdateMappingGivennameUiv2
  • v4.1.1
  • v4.1.0
  • v4.0.9
  • v4.0.8
  • v4.0.7
  • v4.0.6
  • v4.0.5
  • v4.0.4
  • v4.0.3
  • v4.0.2
  • v4.0.1
  • v4.0.0
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v2.4.4
  • v2.4.3
41 results

HomeController.cs

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ITANetAudioClient.h 1.57 KiB
    /*
     * ----------------------------------------------------------------
     *
     *		ITA core libs
     *		(c) Copyright Institute of Technical Acoustics (ITA)
     *		RWTH Aachen University, Germany, 2015-2016
     *
     * ----------------------------------------------------------------
     *				    ____  __________  _______
     *				   //  / //__   ___/ //  _   |
     *				  //  /    //  /    //  /_|  |
     *				 //  /    //  /    //  ___   |
     *				//__/    //__/    //__/   |__|
     *
     * ----------------------------------------------------------------
     *
     */
    
    #ifndef INCLUDE_WATCHER_ITA_NET_AUDIO_CONNECTION
    #define INCLUDE_WATCHER_ITA_NET_AUDIO_CONNECTION
    
    #include <ITADataSourcesDefinitions.h>
    
    #include <ITADataSource.h>
    #include <ITASampleFrame.h>
    
    #include <VistaInterProcComm/Concurrency/VistaThreadLoop.h>
    
    #include <string>
    #include <vector>
    
    class CITANetAudioMessage;
    class CITANetAudioProtocol;
    class CITANetAudioStream;
    
    class VistaConnectionIP;
    
    class CITANetAudioClient : public VistaThreadLoop
    {
    public:
    
    	//! Create an network audio client that feeds into a network audio stream
    	/**
    	  * \param pParent ITADataSource-compatible audio stream
    	  */
    	CITANetAudioClient( CITANetAudioStream* pParent );
    	~CITANetAudioClient();
    
    	bool Connect( const std::string& sAddress, int iPort );
    	void Disconnect();
    	bool GetIsConnected() const;
    
    	bool LoopBody();
    
    private:
    	CITANetAudioStream* m_pParent;
    
    	VistaConnectionIP* m_pConnection;
    	CITANetAudioProtocol* m_pProtocol;
    	CITANetAudioMessage* m_pMessage;
    
    	ITASampleFrame m_sfReceivingBuffer;
    	bool m_bStopIndicated;
    };
    
    #endif // INCLUDE_WATCHER_ITA_NET_AUDIO_CONNECTION