diff options
author | Colin Guthrie <pulse@colin.guthr.ie> | 2008-05-07 01:10:31 +0000 |
---|---|---|
committer | Colin Guthrie <pulse@colin.guthr.ie> | 2008-10-08 20:32:07 +0100 |
commit | e596f42f39232e4e0d36c3764474f73a7ff48fbb (patch) | |
tree | 991ccfc78a082c69c291f752deafc6a5fce702d7 /src/modules/rtp/raop_client.h | |
parent | 6510d97315b9bdf7b1afc204c3dca0a2b0a3a528 (diff) |
Wrap the io_callback to ensure that all data is written before asking for more.
Fix the length type for send_sample (restrict to 16bit value)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2374 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/rtp/raop_client.h')
-rw-r--r-- | src/modules/rtp/raop_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/rtp/raop_client.h b/src/modules/rtp/raop_client.h index 99c75fdb..1dcf779f 100644 --- a/src/modules/rtp/raop_client.h +++ b/src/modules/rtp/raop_client.h @@ -36,7 +36,7 @@ int pa_raop_client_connect(pa_raop_client* c, pa_mainloop_api *mainloop, const c 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_send_sample(pa_raop_client* c, const uint8_t* buffer, uint16_t count); void pa_raop_client_set_callback(pa_raop_client* c, pa_iochannel_cb_t callback, void *userdata); |