This file is indexed.

/usr/include/spandsp/test_utils.h is in libspandsp-dev 0.0.6~pre20-3.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
67
68
69
70
71
72
73
74
75
76
77
/*
 * SpanDSP - a series of DSP components for telephony
 *
 * test_utils.h - Utility routines for module tests.
 *
 * Written by Steve Underwood <steveu@coppice.org>
 *
 * Copyright (C) 2006 Steve Underwood
 *
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 2.1,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/*! \file */

#if !defined(_TEST_UTILS_H_)
#define _TEST_UTILS_H_

#include <sndfile.h>

enum
{
    MUNGE_CODEC_NONE = 0,
    MUNGE_CODEC_ALAW,
    MUNGE_CODEC_ULAW,
    MUNGE_CODEC_G726_40K,
    MUNGE_CODEC_G726_32K,
    MUNGE_CODEC_G726_24K,
    MUNGE_CODEC_G726_16K,
};

typedef struct codec_munge_state_s codec_munge_state_t;

typedef struct complexify_state_s complexify_state_t;

#ifdef __cplusplus
extern "C" {
#endif

SPAN_DECLARE(complexify_state_t *) complexify_init(void);

SPAN_DECLARE(void) complexify_release(complexify_state_t *s);

SPAN_DECLARE(complexf_t) complexify(complexify_state_t *s, int16_t amp);

SPAN_DECLARE(void) fft(complex_t data[], int len);

SPAN_DECLARE(void) ifft(complex_t data[], int len);

SPAN_DECLARE(codec_munge_state_t *) codec_munge_init(int codec, int info);

SPAN_DECLARE(void) codec_munge_release(codec_munge_state_t *s);

SPAN_DECLARE(void) codec_munge(codec_munge_state_t *s, int16_t amp[], int len);

SPAN_DECLARE(SNDFILE *) sf_open_telephony_read(const char *name, int channels);

SPAN_DECLARE(SNDFILE *) sf_open_telephony_write(const char *name, int channels);

#ifdef __cplusplus
}
#endif

#endif
/*- End of file ------------------------------------------------------------*/