From 22e299ad3e16d1a2636653a7be9d625ecdc23802 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 6 May 2008 18:39:09 +0000 Subject: Add a pa_iochannel callback for when the RAOP connection connects. Properly handle the sequence of events that establish a connection. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2369 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/modules/rtp/raop_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/rtp/raop_client.h') diff --git a/src/modules/rtp/raop_client.h b/src/modules/rtp/raop_client.h index 499b1248..99c75fdb 100644 --- a/src/modules/rtp/raop_client.h +++ b/src/modules/rtp/raop_client.h @@ -25,6 +25,7 @@ ***/ #include +#include typedef struct pa_raop_client pa_raop_client; @@ -37,4 +38,6 @@ void pa_raop_client_disconnect(pa_raop_client* c); void pa_raop_client_send_sample(pa_raop_client* c, const uint8_t* buffer, unsigned int count); +void pa_raop_client_set_callback(pa_raop_client* c, pa_iochannel_cb_t callback, void *userdata); + #endif -- cgit