ITAStreamInfo.h 939 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * ----------------------------------------------------------------
 *
 *		ITA core libs
 *		(c) Copyright Institute of Technical Acoustics (ITA)
 *		RWTH Aachen University, Germany, 2015-2017
 *
 * ----------------------------------------------------------------
 *				    ____  __________  _______
 *				   //  / //__   ___/ //  _   |
 *				  //  /    //  /    //  /_|  |
 *				 //  /    //  /    //  ___   |
 *				//__/    //__/    //__/   |__|
 *
 * ----------------------------------------------------------------
 *
 */
Jonas Stienen's avatar
Jonas Stienen committed
18

19 20
#ifndef INCLUDE_WATCHER_ITA_STREAM_INFO
#define INCLUDE_WATCHER_ITA_STREAM_INFO
Jonas Stienen's avatar
Jonas Stienen committed
21 22 23

#include <ITATypes.h>

24 25 26
//! Time code information for audio streams
class ITAStreamInfo
{
Jonas Stienen's avatar
Jonas Stienen committed
27
public:
28 29
	uint64_t nSamples; //!< Number of samples processed
	double dTimecode; //!< Time code
Jonas Stienen's avatar
Jonas Stienen committed
30

31 32 33 34
	inline ITAStreamInfo()
		: nSamples( 0 )
		, dTimecode( 0 )
	{};
Jonas Stienen's avatar
Jonas Stienen committed
35 36 37 38

	virtual ~ITAStreamInfo() {};
};

39
#endif // INCLUDE_WATCHER_ITA_STREAM_INFO