summaryrefslogtreecommitdiffstats
path: root/src/simple.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-06 00:08:44 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-06 00:08:44 +0000
commitf8cbde54dab2783e2c6ba699dfaee9ef51b1e098 (patch)
tree7bdcc21f3b25d521207d19c8ca26eb26229b6bb7 /src/simple.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/simple.h')
-rw-r--r--src/simple.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/simple.h b/src/simple.h
index 80693056..ed181201 100644
--- a/src/simple.h
+++ b/src/simple.h
@@ -15,11 +15,12 @@ struct pa_simple* pa_simple_new(
const char *dev,
const char *stream_name,
const struct pa_sample_spec *ss,
- const struct pa_buffer_attr *attr);
+ const struct pa_buffer_attr *attr,
+ int *error);
void pa_simple_free(struct pa_simple *s);
-int pa_simple_write(struct pa_simple *s, const void*data, size_t length);
-int pa_simple_read(struct pa_simple *s, const void*data, size_t length);
+int pa_simple_write(struct pa_simple *s, const void*data, size_t length, int *error);
+int pa_simple_read(struct pa_simple *s, void*data, size_t length, int *error);
#endif