mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
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
This commit is contained in:
parent
6510d97315
commit
e596f42f39
2 changed files with 62 additions and 22 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue