Combine pa_raop_client_new and pa_raop_client_connect (no point in having them separate)
authorColin Guthrie <pulse@colin.guthr.ie>
Sat, 10 May 2008 23:01:37 +0000 (23:01 +0000)
committerColin Guthrie <pulse@colin.guthr.ie>
Wed, 8 Oct 2008 19:32:07 +0000 (20:32 +0100)
commit1fb046536a687e7c5eef9a440f66d111cd0e8cb4
treec151649d7499e5e7abb2e9ebfeed24ceb8b064a1
parent41e31ab204ca48ea749c416eb270ebfa2f74b086
Combine pa_raop_client_new and pa_raop_client_connect (no point in having them separate)

Convert the iochannel to an fd and do not call a pa_iochannel_cb_t callback but rather trigger the callback on connection and pass the fd.
Change pa_raop_client_send_sample to pa_raop_client_encode_sample and work with memchunks.
Fix a subtle size bug in the bit writer that techincally isn't triggered in normal operation.
Clean up the _free function to actually free stuff.
Do the actual ALAC encoding.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2394 fefdeb5f-60dc-0310-8127-8f9354f1896f
src/modules/rtp/raop_client.c
src/modules/rtp/raop_client.h