mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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
This commit is contained in:
parent
8fb58e3a90
commit
22e299ad3e
3 changed files with 97 additions and 11 deletions
|
|
@ -25,6 +25,7 @@
|
|||
***/
|
||||
|
||||
#include <pulse/mainloop-api.h>
|
||||
#include <pulsecore/iochannel.h>
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue