summaryrefslogtreecommitdiff
path: root/src/sink_input.h
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-22 00:05:22 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-22 00:05:22 +0200
commit1a1785595a9079850e1b9d490d486af6c6f47873 (patch)
treebb0e10925f3ecbcd490ad7e21a85f79d94f84a55 /src/sink_input.h
parentbc5846ff488f8ec7418c2a91ef0794c3f0405d8d (diff)
downloadpa-sink-ctl-1a1785595a9079850e1b9d490d486af6c6f47873.tar.gz
pa-sink-ctl-1a1785595a9079850e1b9d490d486af6c6f47873.tar.bz2
pa-sink-ctl-1a1785595a9079850e1b9d490d486af6c6f47873.zip
glib-ify datatype, functions etc + header cleanup
Diffstat (limited to 'src/sink_input.h')
-rw-r--r--src/sink_input.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/sink_input.h b/src/sink_input.h
index ec636d0..a62a00b 100644
--- a/src/sink_input.h
+++ b/src/sink_input.h
@@ -1,18 +1,16 @@
#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;
+ 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;