summaryrefslogtreecommitdiffstats
path: root/polyp/polyp.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-03-08 12:16:51 +0000
committerTakashi Iwai <tiwai@suse.de>2006-03-08 12:16:51 +0000
commit8c65cdcb6e1872470f66a97a1c70418a688d4490 (patch)
tree68a24a2cb18ed320a71d1c257b26538633e1ab72 /polyp/polyp.h
parent9dd5f99aaa41c94b0ca89701282a9564f24e88fe (diff)
Properly terminate stream in polypaudio plugin
Some applications like to call prepare over and over again, recreating the stream each time. Previously we just cleaned up the local end each time, but this makes sure the server also releases its resources. Signed-off-by: Pierre Ossman <ossman@cendio.se>
Diffstat (limited to 'polyp/polyp.h')
-rw-r--r--polyp/polyp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/polyp/polyp.h b/polyp/polyp.h
index 60cf872..8c2ab95 100644
--- a/polyp/polyp.h
+++ b/polyp/polyp.h
@@ -48,6 +48,7 @@ int polyp_finish_poll(snd_polyp_t *p);
int polyp_check_connection(snd_polyp_t *p);
int polyp_wait_operation(snd_polyp_t *p, pa_operation *o);
+int polyp_wait_stream_state(snd_polyp_t *p, pa_stream *stream, pa_stream_state_t target);
snd_polyp_t *polyp_new();
void polyp_free(snd_polyp_t *p);