summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/raop_client.h
Commit message (Collapse)AuthorAgeFilesLines
* Add some new public API functions to connect and flush.Colin Guthrie2008-10-081-0/+3
| | | | | | | | | This allows us to reconnect upon disconnection but this has thus far proved unreliable. We no longer close the socket. We leave this to the module thread to do the closing. We can also flush the remote buffer now. Refs #69 git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2503 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Change suggested by Lennart. Do not return a memchunk, instead pass in the ↵Colin Guthrie2008-10-081-1/+1
| | | | | | pointer. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2405 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Various changes suggested by Lennart.Colin Guthrie2008-10-081-3/+3
| | | | | | | Store the core* rather than just the mainloop as we can reuse the mempool without passing it in as an argument. const'ify and deconst'ify some vars git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2404 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add a new callback structure to propigate when the RTSP connection diesColin Guthrie2008-10-081-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2402 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Combine pa_raop_client_new and pa_raop_client_connect (no point in having ↵Colin Guthrie2008-10-081-7/+5
| | | | | | | | | | | | 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
* Wrap the io_callback to ensure that all data is written before asking for more.Colin Guthrie2008-10-081-1/+1
| | | | | | 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
* Add a pa_iochannel callback for when the RAOP connection connects.Colin Guthrie2008-10-081-0/+3
| | | | | | 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
* Add a skeleton raop client which builds on the rtsp client.Colin Guthrie2008-10-081-0/+40
It still requires a socket client and callback system to be added before it will be functional. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2366 fefdeb5f-60dc-0310-8127-8f9354f1896f