path: root/src/polyp.h
diff options
authorLennart Poettering <>2004-07-06 00:08:44 +0000
committerLennart Poettering <>2004-07-06 00:08:44 +0000
commitf8cbde54dab2783e2c6ba699dfaee9ef51b1e098 (patch)
tree7bdcc21f3b25d521207d19c8ca26eb26229b6bb7 /src/polyp.h
parent722c2c8c8785d215ec3ec8757168b82c9600f4a3 (diff)
auth support in esound and native
AUTH and SET_NAME operatins in native simple library git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@51 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp.h')
1 files changed, 3 insertions, 3 deletions
diff --git a/src/polyp.h b/src/polyp.h
index 171e3bdf..77a6966f 100644
--- a/src/polyp.h
+++ b/src/polyp.h
@@ -23,18 +23,18 @@ void pa_context_set_die_callback(struct pa_context *c, void (*cb)(struct pa_cont
int pa_context_is_dead(struct pa_context *c);
int pa_context_is_ready(struct pa_context *c);
-int pa_contect_errno(struct pa_context *c);
+int pa_context_errno(struct pa_context *c);
struct pa_stream;
-int pa_stream_new(
+struct pa_stream* pa_stream_new(
struct pa_context *c,
enum pa_stream_direction dir,
const char *dev,
const char *name,
const struct pa_sample_spec *ss,
const struct pa_buffer_attr *attr,
- void (*complete) (struct pa_context*c, struct pa_stream *s, void *userdata),
+ void (*complete) (struct pa_stream*s, int success, void *userdata),
void *userdata);
void pa_stream_free(struct pa_stream *p);