Adding network audio stream signal source file

parent 5e9d8e7d
/*
* --------------------------------------------------------------------------------------------
*
* VVV VVV A
* VVV VVV AAA Virtual Acoustics (VA)
* VVV VVV AAA Real-time auralisation for virtual reality
* VVV VVV AAA
* VVVVVV AAA (c) Copyright Institute of Technical Acoustics (ITA), 2015-2017
* VVVV AAA RWTH Aachen University (http://www.akustik.rwth-aachen.de)
*
* --------------------------------------------------------------------------------------------
*/
#ifndef IW_VABASE_NETWORK_STREAM_AUDIO_SIGNAL_SOURCE
#define IW_VABASE_NETWORK_STREAM_AUDIO_SIGNAL_SOURCE
#include <VABaseDefinitions.h>
#include <VASamples.h>
#include <VAStruct.h>
//! Helper class for server-side network audio signal sources
/**
* Provides network functionality for an audio signal source.
*/
class CVANetworkStreamAudioSignalSource
{
public:
CVANetworkStreamAudioSignalSource();
inline virtual ~CVANetworkStreamAudioSignalSource() {};
//! Transmit samples of arbitrary lengths
void Transmit( const CVASamples& oFrame );
//! Returns the internal number of queued samples at client side (last known state)
int GetNumQueuedSamples() const;
private:
int m_iNumQueuedSamples; //!< Client-side number of queued samplesp
};
#endif // IW_VABASE_NETWORK_STREAM_AUDIO_SIGNAL_SOURCE
......@@ -12,6 +12,7 @@ set( DirFiles
VACoreVersion.h
VAEventHandlerGlobalLock.h
VAException.h
VANetworkStreamAudioSignalSource.h
VAObject.h
VAObjectRegistry.h
VASamples.h
......
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