This file is indexed.

/usr/include/CLAM/SampleMetadata.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
#ifndef _SampleMetadata_
#define _SampleMetadata_

#include "IndexArray.hxx"
#include "Processing.hxx"
#include "Err.hxx"
#include "SDIFInConfig.hxx"
#include "Filename.hxx"
#include "SimpleLoopMetadata.hxx"
#include <vector>

namespace CLAM
{

#define SAMPLE_METADATA_PITCH_INDEX 1
#define SAMPLE_METADATA_AMPLITUDE_INDEX 2

/**
* This class should be used to hold meta information about a sound sample.
* This meta information includes both content-based audio descriptors such
* as the pitch and amplitude of a sample as well as information about
* the properties of the sound generation process. Finally, this class
* also holds information about the possible loop points to be used by
* a sample.
*
* \author greg kellum [gkellum@iua.upf.edu] 6/15/2007
* \since CLAM v1.1.
*/
class SampleMetadata : public DynamicType
{
public:
	DYNAMIC_TYPE (SampleMetadata, 6);
	DYN_ATTRIBUTE(0,public, CLAM::Filename, Filename);
	DYN_ATTRIBUTE(SAMPLE_METADATA_PITCH_INDEX, public, double, Pitch);
	DYN_ATTRIBUTE(SAMPLE_METADATA_AMPLITUDE_INDEX,public, double, Amplitude);
	DYN_ATTRIBUTE(3,public, int, SortIndex);
	DYN_ATTRIBUTE(4,public, int, StartSteadyState);
	DYN_CONTAINER_ATTRIBUTE(5, public, std::vector<SimpleLoopMetadata>, ListOfLoops, Loop);
	
//	DYN_ATTRIBUTE(3,public, EnvelopeStage, EnvelopeStage);
	void DefaultInit();
	// when the object is restored from XML, after it is read it only has those
	// attributes which are defined in the XML file. so, we need to add some
	// more attributes to it which will be used later by other algorithms
	// such as the SortIndex
	void ConfigureAfterRestore();
	bool operator<(const SampleMetadata& argSampleMetadata) const;
	bool operator>(const SampleMetadata& argSampleMetadata) const;
	bool operator==(const SampleMetadata& argSampleMetadata) const;

};

} // end namespace CLAM

#endif