diff options
author | Colin Guthrie <pulse@colin.guthr.ie> | 2008-05-11 15:06:14 +0000 |
---|---|---|
committer | Colin Guthrie <pulse@colin.guthr.ie> | 2008-10-08 20:32:08 +0100 |
commit | d195d06da7009db985c0a5827b096bc39dd994bf (patch) | |
tree | caadd48bd70c7213a767cf54c3963d1395455bf8 /src/modules/rtp/raop_client.h | |
parent | e00127fe245cc2065f74617dada3b474b88907af (diff) |
Change suggested by Lennart. Do not return a memchunk, instead pass in the pointer.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2405 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 b2817e59..303fdaa4 100644 --- a/src/modules/rtp/raop_client.h +++ b/src/modules/rtp/raop_client.h @@ -33,7 +33,7 @@ typedef struct pa_raop_client pa_raop_client; pa_raop_client* pa_raop_client_new(pa_core *core, const char* host); void pa_raop_client_free(pa_raop_client* c); -pa_memchunk pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw); +int pa_raop_client_encode_sample(pa_raop_client* c, pa_memchunk* raw, pa_memchunk* encoded); typedef void (*pa_raop_client_cb_t)(int fd, void *userdata); void pa_raop_client_set_callback(pa_raop_client* c, pa_raop_client_cb_t callback, void *userdata); |