This file is indexed.

/usr/include/CLAM/LadspaWrapperBuffer.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
50
51
52
53
54
55
56
57
58
59
60
#ifndef _LadspaWrapperBuffer_hxx_
#define _LadspaWrapperBuffer_hxx_

#include "DataTypes.hxx"
#include "OutControl.hxx"
#include "InControl.hxx"
#include "Processing.hxx"
#include "RunTimeLibraryLoader.hxx"
#include "OutPort.hxx"
#include "InPort.hxx"
#include "Audio.hxx"

#include <ladspa.h>

#include <string>

namespace CLAM
{

class LadspaWrapperBuffer : public Processing
{
private:
	typedef void * SOPointer;
	LADSPA_Handle _instance;
	const LADSPA_Descriptor * _descriptor;
	SOPointer _sharedObject;
	std::string _libraryFileName;

	std::vector< InPort<Audio>* > _inputPorts;
	std::vector< OutPort<Audio>* > _outputPorts;

	std::vector< FloatInControl* > _inputControls;
	std::vector< FloatOutControl* > _outputControls;
	std::vector< LADSPA_Data > _outputControlValues;
	unsigned _bufferSize;
	std::string _factoryKey;
	void RemovePortsAndControls();
	void ConfigurePortsAndControls();
	void ConfigureControlsPointers();
	void DoUpdatePortsPointers();

public:
	LadspaWrapperBuffer( const Config & c = Config());
	LadspaWrapperBuffer( const std::string& libraryFileName, unsigned index, const std::string& factoryKey );
	bool ConcreteStart();
	bool ConcreteStop();
	bool ConcreteConfigure(const ProcessingConfig&);

	bool Do();
	virtual ~LadspaWrapperBuffer();

	const char * GetClassName() const;

	bool LoadLibraryFunction(const std::string& libraryFileName, unsigned index, const std::string& factoryKey);

};

} //namespace CLAM

#endif