/usr/include/CLAM/MonoOfflineNetworkPlayer.hxx is in libclam-dev 1.4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | //TODO add mp3/ogg support to NetworkPlayer and deprecate this class. OfflineNetworkPlayer excepts multi-track wav files
#ifndef _MonoOfflineNetworkPlayer_hxx_
#define _MonoOfflineNetworkPlayer_hxx_
#include "NetworkPlayer.hxx"
#include "AudioSource.hxx"
#include "AudioSink.hxx"
namespace CLAM
{
class MonoOfflineNetworkPlayer : public NetworkPlayer
{
std::vector<std::string> _filenames;
bool _enableLoopInputWavs;
float _resultWavsTime;
public:
MonoOfflineNetworkPlayer()
: _enableLoopInputWavs(false)
, _resultWavsTime(0.0)
{}
void AddInputFile( const std::string& );
void AddOutputFile( const std::string& );
// base class (virtual) interface:
bool IsWorking();
std::string NonWorkingReason();
virtual bool IsRealTime() const { return false; }
virtual void Start();
virtual void Stop();
void ProcessInputFile();
// specific interface - not inherited
void EnableLoopInputWavs()
{
_enableLoopInputWavs=true;
}
void SetResultWavsTime( double time)
{
_resultWavsTime=time;
}
};
}
#endif
|