This file is indexed.

/usr/include/libinstpatch-1.0/libinstpatch/IpatchGigSubRegion.h is in libinstpatch-dev 1.0.0-4.

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
87
88
89
90
91
92
93
94
95
96
/*
 * libInstPatch
 * Copyright (C) 1999-2010 Joshua "Element" Green <jgreen@users.sourceforge.net>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; version 2.1
 * of the License only.
 *
 * This library 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., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA or on the web at http://www.gnu.org.
 */
/**
 * SECTION: IpatchGigSubRegion
 * @short_description: GigaSampler sub region object
 * @see_also: #IpatchGigRegion
 * @stability: Stable
 *
 * Defines a GigaSampler sub region object which are children of
 * #IpatchGigRegion objects and define how a referenced #IpatchGigSample
 * is synthesized in a #IpatchGigInst.
 */
#ifndef __IPATCH_GIG_SUB_REGION_H__
#define __IPATCH_GIG_SUB_REGION_H__

#include <glib.h>
#include <glib-object.h>

/* forward type declarations */
typedef struct _IpatchGigSubRegion IpatchGigSubRegion;
typedef struct _IpatchGigSubRegionClass IpatchGigSubRegionClass;

#include <libinstpatch/IpatchItem.h>
#include <libinstpatch/IpatchGigEffects.h>
#include <libinstpatch/IpatchGigSample.h>

#define IPATCH_TYPE_GIG_SUB_REGION   (ipatch_gig_sub_region_get_type ())
#define IPATCH_GIG_SUB_REGION(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), IPATCH_TYPE_GIG_SUB_REGION, \
  IpatchGigSubRegion))
#define IPATCH_GIG_SUB_REGION_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), IPATCH_TYPE_GIG_SUB_REGION, \
  IpatchGigSubRegionClass))
#define IPATCH_IS_GIG_SUB_REGION(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IPATCH_TYPE_GIG_SUB_REGION))
#define IPATCH_IS_GIG_SUB_REGION_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), IPATCH_TYPE_GIG_SUB_REGION))
#define IPATCH_GIG_SUB_REGION_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), IPATCH_TYPE_GIG_SUB_REGION, \
  IpatchGigSubRegionClass))

/* a GigaSampler sub region */
struct _IpatchGigSubRegion
{
  IpatchItem parent_instance;

  IpatchGigEffects effects;	/* effects for this sub region */
  IpatchGigSample *sample;	/* sample for this sub region */
  IpatchDLS2SampleInfo *sample_info; /* sample info override or NULL */
};

/* GigaSampler sub region class */
struct _IpatchGigSubRegionClass
{
  IpatchItemClass parent_class;
};

/* Flags crammed into IpatchItem flags */
typedef enum
{
  IPATCH_GIG_SUB_REGION_SAMPLE_INFO_OVERRIDE = 1 << IPATCH_ITEM_UNUSED_FLAG_SHIFT
} IpatchGigSubRegionFlags;

/* 1 flag + 3 for expansion */
#define IPATCH_GIG_SUB_REGION_UNUSED_FLAG_SHIFT \
  (IPATCH_ITEM_UNUSED_FLAG_SHIFT + 4)


GType ipatch_gig_sub_region_get_type (void);
IpatchGigSubRegion *ipatch_gig_sub_region_new (void);

IpatchGigSubRegion *ipatch_gig_sub_region_first (IpatchIter *iter);
IpatchGigSubRegion *ipatch_gig_sub_region_next (IpatchIter *iter);

IpatchGigSample *ipatch_gig_sub_region_get_sample (IpatchGigSubRegion *subregion);
void ipatch_gig_sub_region_set_sample (IpatchGigSubRegion *subregion,
				       IpatchGigSample *sample);

#endif