summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/client.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-13 16:19:56 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-13 16:19:56 +0000
commita621d9028548723d13df64df06a4f4538504e7a3 (patch)
treeb488b3488a11516b3c594cc2c805d693a5d6c938 /src/pulsecore/client.h
parentb5cbea940ea70b8ed92fa3be6b742e8a14897337 (diff)
allow hooking into the process of creating playback streams. To implement this I modified the pa_sink_input_new() signature to take a pa_sink_input_new_data structure instead of direct arguments.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1237 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/client.h')
-rw-r--r--src/pulsecore/client.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pulsecore/client.h b/src/pulsecore/client.h
index 1e72baf7..b28065e5 100644
--- a/src/pulsecore/client.h
+++ b/src/pulsecore/client.h
@@ -1,5 +1,5 @@
-#ifndef fooclienthfoo
-#define fooclienthfoo
+#ifndef foopulseclienthfoo
+#define foopulseclienthfoo
/* $Id$ */
@@ -22,6 +22,10 @@
USA.
***/
+#include <inttypes.h>
+
+typedef struct pa_client pa_client;
+
#include <pulsecore/core.h>
#include <pulsecore/module.h>
@@ -29,8 +33,6 @@
* attached. That way the user may generate a listing of all connected
* clients easily and kill them if he wants.*/
-typedef struct pa_client pa_client;
-
struct pa_client {
uint32_t index;