Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly duplicate the hostname passed in on connect. | Colin Guthrie | 2008-10-08 | 1 | -1/+2 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2396 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Combine pa_raop_client_new and pa_raop_client_connect (no point in having ↵ | Colin Guthrie | 2008-10-08 | 2 | -90/+102 |
| | | | | | | | | | | | | 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 | ||||
* | Rename rtsp.{c,h} to rtsp_client.{c,h}. | Colin Guthrie | 2008-10-08 | 4 | -49/+49 |
| | | | | | | Renate pa_rtsp_context to pa_rtsp_client. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2376 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Wrap the io_callback to ensure that all data is written before asking for more. | Colin Guthrie | 2008-10-08 | 2 | -22/+62 |
| | | | | | | 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 | ||||
* | Use a more stateful response parser. | Colin Guthrie | 2008-10-08 | 1 | -182/+138 |
| | | | | | | | This makes things fully asyncronous. Some of the continuation headerlist stuff could be moved to headerlist for neatness, but this is OK for now. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2373 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add a pa_iochannel callback for when the RAOP connection connects. | Colin Guthrie | 2008-10-08 | 3 | -11/+97 |
| | | | | | | 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 function for packing bits into a byte buffer. This will be needed when ↵ | Colin Guthrie | 2008-10-08 | 1 | -0/+52 |
| | | | | | | encoding the audio data in ALAC format. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2368 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Some minor tidyup to remove code now in raop client. Still nowhere near ↵ | Colin Guthrie | 2008-10-08 | 1 | -67/+2 |
| | | | | | | functional. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2367 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add a skeleton raop client which builds on the rtsp client. | Colin Guthrie | 2008-10-08 | 3 | -0/+349 |
| | | | | | | 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 | ||||
* | Move closer to an asynchronous structure (still some parsing code to be ↵ | Colin Guthrie | 2008-10-08 | 2 | -156/+220 |
| | | | | | | | | | | converted). Move type definition into .c file to keep it private Add more utility functions to add/remove headers and return the serverport now the structure is private. This commit will break the test application but I will fix that in due course git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2365 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Trivial change to allocate memory using pulse methods. | Colin Guthrie | 2008-10-08 | 1 | -3/+3 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2364 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Fix svn properties and some minor indentation | Colin Guthrie | 2008-10-08 | 2 | -2/+2 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2363 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Convert the return values to fit with the rest of pulse 0 == success, < 0 == ↵ | Colin Guthrie | 2008-10-08 | 1 | -17/+17 |
| | | | | | | failure git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2362 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Convert to using pa_socket_client rather than using blocking IO. | Colin Guthrie | 2008-10-08 | 2 | -63/+71 |
| | | | | | | | This change requires a reference to the mainloop api be passed during initial connection. In addition, the passing in of the session id during connect has been deprecated. A new function pa_rtsp_set_url has been added to allow the URL to be set by external code. The concept of sid is something specific to raop, not to the rtsp client. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2360 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Use _free rather than _destroy so as not to mix naming conventions. | Colin Guthrie | 2008-10-08 | 2 | -28/+29 |
| | | | | | | Convert C++ comments to C. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2349 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Use pa_sprintf_malloc to do simple concatenation rather than using the ↵ | Colin Guthrie | 2008-10-08 | 1 | -5/+3 |
| | | | | | | higher overhead of pa_strbuf git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2348 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Start the raop sink. It's based on pipe sink and isn't anywhere near ↵ | Colin Guthrie | 2008-10-08 | 2 | -1/+430 |
| | | | | | | finished. It does however compile. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2335 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add a simple base64 library that will be used by the sink | Colin Guthrie | 2008-10-08 | 2 | -0/+163 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2334 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add a RTSP client impelmentation. | Colin Guthrie | 2008-10-08 | 2 | -0/+538 |
| | | | | | | I still need to adapt the header reading to move the concatenation code to the headerlist lib git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2333 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add a small lib to interpret and produce headers as used in http style requests. | Colin Guthrie | 2008-10-08 | 2 | -0/+238 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2332 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | make distcheck passv0.9.13 | Lennart Poettering | 2008-10-06 | 4 | -4/+4 |
| | |||||
* | Merge commit 'vudentz/master' | Lennart Poettering | 2008-10-06 | 2 | -527/+102 |
|\ | |||||
| * | Fix loading module-bluetooth-device with an invalid parameter. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -1/+1 |
| | | |||||
| * | Replace handlers of deprecated Connected signals with new PropertyChanged. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -5/+39 |
| | | |||||
| * | Cleanup module-bluetooth-discover. | Luiz Augusto von Dentz | 2008-10-03 | 2 | -532/+69 |
| | | |||||
| * | Fix Connected signal handler. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -6/+2 |
| | | |||||
| * | Fix match rule problems. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -2/+2 |
| | | |||||
| * | Remove PropertyChanged signal handler. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -16/+0 |
| | | |||||
| * | Add signal handlers for Connected signals. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -0/+12 |
| | | |||||
| * | Add match rules for org.bluez.Headset and org.bluez.AudioSink. | Luiz Augusto von Dentz | 2008-10-03 | 1 | -0/+12 |
| | | |||||
* | | make sure we send a started messages when we are uncorking | Lennart Poettering | 2008-10-06 | 2 | -0/+7 |
| | | |||||
* | | update module-tunnel for recent protocol changes | Lennart Poettering | 2008-10-05 | 1 | -1/+8 |
| | | |||||
* | | disable valgrind macro usage for now since valgrind generates a lot of ↵ | Lennart Poettering | 2008-10-05 | 1 | -7/+11 |
| | | | | | | | | spurious warnings as it seems | ||||
* | | add missing include | Lennart Poettering | 2008-10-05 | 1 | -0/+2 |
| | | |||||
* | | substract the unused record buffer size from the overall size before ↵ | Lennart Poettering | 2008-10-04 | 2 | -4/+5 |
| | | | | | | | | calculating the space still left for recording | ||||
* | | get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now | Lennart Poettering | 2008-10-04 | 4 | -28/+2 |
| | | |||||
* | | implement pa_sw_volume_divide() and pa_sw_cvolume_divide() | Lennart Poettering | 2008-10-04 | 2 | -7/+40 |
| | | |||||
* | | increase suspend timeout to 5s so that it is always longer then the default ↵ | Lennart Poettering | 2008-10-04 | 1 | -1/+1 |
| | | | | | | | | tsched buffer size of 2s | ||||
* | | don't call snd_pcm_drain() when we suspend because that might take awfully ↵ | Lennart Poettering | 2008-10-04 | 1 | -2/+2 |
| | | | | | | | | long with our long buffer sizes these days | ||||
* | | add missing inclusion | Lennart Poettering | 2008-10-04 | 1 | -0/+1 |
| | | |||||
* | | do not cleanup staticly allocated memory unless we are in valgrind mode | Lennart Poettering | 2008-10-04 | 3 | -0/+9 |
| | | |||||
* | | show valgrind status on startup | Lennart Poettering | 2008-10-04 | 1 | -0/+2 |
| | | |||||
* | | instead of checking for directly use new function pa_in_valgrind() | Lennart Poettering | 2008-10-04 | 1 | -2/+2 |
| | | |||||
* | | add new API function pa_in_valgrind() to check for | Lennart Poettering | 2008-10-04 | 2 | -0/+28 |
| | | |||||
* | | rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is | Lennart Poettering | 2008-10-03 | 4 | -6/+6 |
|/ | | | | useful only for software volumes | ||||
* | allow - in sample names | Lennart Poettering | 2008-10-03 | 2 | -12/+20 |
| | |||||
* | increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is ↵ | Lennart Poettering | 2008-10-03 | 3 | -4/+16 |
| | | | | not considered part of the ABI | ||||
* | when checking the validity of a cvolume check whether all values are not -1 | Lennart Poettering | 2008-10-03 | 1 | -0/+6 |
| | |||||
* | add missing calls to map file | Lennart Poettering | 2008-10-03 | 1 | -0/+2 |
| | |||||
* | add new API call pa_cvolume_compatible() | Lennart Poettering | 2008-10-03 | 3 | -0/+19 |
| |