11 struct pa_simple* pa_simple_new(
14 enum pa_stream_direction dir,
16 const char *stream_name,
17 const struct pa_sample_spec *ss,
18 const struct pa_buffer_attr *attr,
21 void pa_simple_free(struct pa_simple *s);
23 int pa_simple_write(struct pa_simple *s, const void*data, size_t length, int *error);
24 int pa_simple_drain(struct pa_simple *s, int *error);
26 int pa_simple_read(struct pa_simple *s, void*data, size_t length, int *error);