This file is indexed.

/usr/include/CLAM/OfflineNetworkPlayer.hxx is in libclam-dev 1.4.0-6.

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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#ifndef OfflineNetworkPlayer_hxx
#define OfflineNetworkPlayer_hxx

#include "NetworkPlayer.hxx"
#include "AudioSource.hxx"
#include "AudioSink.hxx"
#include <fstream>
#include <sndfile.hh>  

namespace CLAM
{

class OfflineNetworkPlayer : public NetworkPlayer
{
	typedef std::vector<std::string> FileNames;
	FileNames _inFileNames;
	FileNames _outFileNames;

	typedef std::vector<int> ChannelsFiles;
	ChannelsFiles _outChannelsFiles;
	
	int _format;
	bool _enableLoopInputWavs;
	float _resultWavsTime;

public:
	OfflineNetworkPlayer()
		: _enableLoopInputWavs(false)
		, _resultWavsTime(0.0)
	{
	}

	void AddInputFile( const std::string& );
	void AddOutputFile( const std::string& );
	void AddNumChannels(int channel);
	void SetFormat(int format);
	// base class (virtual) interface:
	bool IsWorking();
	std::string NonWorkingReason();
	virtual bool IsRealTime() const { return false; }
	
	typedef std::vector<SndfileHandle*> SndFileHandles;
	std::string listOfSourcesSinksAndFiles(const SndFileHandles & infiles, 
										   const SndFileHandles & outfiles);
	
	virtual void Start();
	virtual void Stop();

	void ProcessInputFile();

	// specific interface - not inherited	
	void EnableLoopInputWavs() 
	{
		_enableLoopInputWavs=true;
	}
	void SetResultWavsTime( double time)
	{
		_resultWavsTime=time;
	}
};

}
#endif