This file is indexed.

/usr/include/sweep/sweep_sounddata.h is in sweep-dev 0.9.3-8.

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
78
79
80
81
82
83
84
85
86
/*
 * Sweep, a sound wave editor.
 *
 * Copyright (C) 2000 Conrad Parker
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef __SWEEP_SOUNDDATA_H__
#define __SWEEP_SOUNDDATA_H__

sw_sounddata *
sounddata_new_empty(gint nr_channels, gint sample_rate, gint sample_length);

void
sounddata_destroy (sw_sounddata * sounddata);

void
sounddata_lock_selection (sw_sounddata * sounddata);

void
sounddata_unlock_selection (sw_sounddata * sounddata);

void
sounddata_clear_selection (sw_sounddata * sounddata);

/*
 * sounddata_normalise_selection(sounddata)
 *
 * normalise the selection of sounddata, ie. make sure there's
 * no overlaps and merge adjoining sections.
 */

void
sounddata_normalise_selection (sw_sounddata * sounddata);

void
sounddata_add_selection (sw_sounddata * sounddata, sw_sel * sel);

sw_sel *
sounddata_add_selection_1 (sw_sounddata * sounddata,
			   sw_framecount_t start, sw_framecount_t end);

sw_sel *
sounddata_set_selection_1 (sw_sounddata * sounddata,
			   sw_framecount_t start, sw_framecount_t end);

guint
sounddata_selection_nr_regions (sw_sounddata * sounddata);

gint
sounddata_selection_nr_frames (sw_sounddata * sounddata);

gint
sounddata_selection_width (sw_sounddata * sounddata);

void
sounddata_selection_translate (sw_sounddata * sounddata, gint delta);

void
sounddata_selection_scale (sw_sounddata * sounddata, gfloat scale);

/*
 * sounddata_copyin_selection (sounddata, sounddata2)
 *
 * copies the selection of sounddata1 into sounddata2. If sounddata2 previously
 * had a selection, the two are merged.
 */
void
sounddata_copyin_selection (sw_sounddata * sounddata1,
			    sw_sounddata * sounddata2);


#endif /* __SWEEP_SOUNDDATA_H__ */