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

#include <stdint.h>

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

typedef struct _sink_input_info {
	uint32_t index;
	uint32_t sink;
	char *name;
	char *pid;	// maybe useless?!!?
	int mute;
	uint8_t 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