summaryrefslogtreecommitdiff
path: root/src/sink_input.h
blob: a62a00b8eec4a9116380dfefac24b831440dabac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SINK_INPUT_H
#define SINK_INPUT_H

#include <glib.h>
#include <pulse/pulseaudio.h>

typedef struct _sink_input_info {
	guint32 index;
	guint32 sink;
	gchar *name;
	gchar *pid;	// maybe useless?!!?
	gint mute;
	guint8 channels;
	pa_volume_t vol; // TOTO: exchange with the channel-list
} sink_input_info;

GArray *sink_input_list_alloc(void);
void sink_input_list_free(GArray *sink_input_list);

#endif