This file is indexed.

/usr/include/gmtk/gm_audio.h is in libgmlib-dev 1.0.9-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
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * gm_audio.h
 * Copyright (C) Kevin DeKorte 2006 <kdekorte@gmail.com>
 * 
 * gm_audio.h is free software.
 * 
 * You may 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.
 * 
 * gm_audio.h 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 playlist.c.  If not, write to:
 * 	The Free Software Foundation, Inc.,
 * 	51 Franklin Street, Fifth Floor
 * 	Boston, MA  02110-1301, USA.
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <glib.h>
#include <glib/gi18n.h>
#include "gm_common.h"

#ifndef __GM_AUDIO_H__
#define __GM_AUDIO_H__

typedef enum {
    AUDIO_TYPE_UNKNOWN,
    AUDIO_TYPE_SOFTVOL,         // use mplayer software volume control for non-alsa and non-pulse devices
    AUDIO_TYPE_ALSA,
    AUDIO_TYPE_PULSE
} GmAudioType;

typedef struct _AudioDevice {
    gchar *description;         // use this as a key to look up the information 
    GmAudioType type;
    gint alsa_card;
    gint alsa_device;
    gchar *alsa_device_name;
    gchar *alsa_mixer;          // this is not looked up
    gint pulse_index;
    gint pulse_channels;
    gdouble volume;
    gboolean muted;
    gchar *mplayer_ao;
    gchar *pulse_sink_name;
    gboolean pulse_default;
} AudioDevice;


#ifdef __cplusplus
extern "C" {
#endif

    // prototypes go here
    gboolean gm_audio_query_devices();
    gboolean gm_audio_free();
    gboolean gm_audio_update_device(AudioDevice * device);
    gdouble gm_audio_get_volume(AudioDevice * device);
    gboolean gm_audio_set_volume(AudioDevice * device, gdouble volume);
    void gm_audio_set_server_volume_update_callback(AudioDevice * device, void *callback);

#ifdef __cplusplus
}
#endif
#endif