summaryrefslogtreecommitdiff
path: root/src/sink.h
blob: afaf9298cd0cff4efbfe8d3a4a6b7d07798fbcb2 (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
#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;
} 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