This file is indexed.

/usr/include/sipxtapi/mp/mpau.h is in libsipxtapi-dev 3.3.0~test17-2.1.

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
64
65
66
//  
// Copyright (C) 2006 SIPez LLC. 
// Licensed to SIPfoundry under a Contributor Agreement. 
//
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////

#ifndef AU_H_INCLUDED
#define AU_H_INCLUDED
#include "mp/MpAudioAbstract.h"
#include "mp/MpAudioFileDecompress.h"
#include <iostream>

bool isAuFile(istream &file);

class MpAuRead: public MpAudioAbstract {

private:
   istream & mStream;
   int m_CompressionType;
   AbstractDecompressor *_decoder;
public:
   typedef enum {
      DeG711MuLaw = 1,
      DePcm8Unsigned,
      DePcm16MsbSigned
   } AuDecompressionType;

   MpAuRead(istream & s, int raw = 0);

   ~MpAuRead() {
      if (_decoder) delete _decoder;
   }
   size_t getSamples(AudioSample *buffer, size_t numSamples) {
      return _decoder->getSamples(buffer,numSamples);
   }
private:
   size_t _dataLength;
public:
   size_t readBytes(AudioByte *buffer, size_t length);
   int getDecompressionType() {return m_CompressionType; }
   size_t getBytesSize();

private:
   bool _headerRead;    ///< true if header has already been read
   int _headerChannels; ///< channels from header
   int _headerRate;     ///< sampling rate from header
   void ReadHeader(void);
protected:
   void minMaxSamplingRate(long *min, long *max, long *preferred) {
      ReadHeader();
      *min = *max = *preferred = _headerRate;
   }
   void minMaxChannels(int *min, int *max, int *preferred) {
      ReadHeader();
      *min = *max = *preferred = _headerChannels;
   }
};

#endif