summaryrefslogtreecommitdiff
path: root/src/sink.h
blob: 14d9be223b8d3b7ff342055dc7d89d1fdb80422b (plain)
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
#ifndef SINK_H
#define SINK_H

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

typedef struct _sink_info {
	guint32 index;
	gchar* name;
	gchar* device;
	gint mute;
	guint8 channels;
	pa_volume_t vol;
	GList *input_list;
} sink_info;

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;

#endif