summaryrefslogtreecommitdiffstats
path: root/src/modules/raop/raop_client.c
Commit message (Collapse)AuthorAgeFilesLines
* raop: Change socket buffer size handling to avoid playback underrunsBryan Gleeson2011-06-221-1/+0
| | | | | | | | | | | | | When a TCP socket is created the size of the send buffer (SO_SNDBUF) used is determined by the OS, using the net.ipv4.tcp_wmem sysctl parameter. Previously a call to setsockopt set the buffer size to a value that was too small, and that in some cases could result in underruns and choppy playback. This setsockopt call has now been removed so that the value determined by the OS is used unchanged. Note that the value used for the send buffer size is the 2nd value in net.ipv4.tcp_wmem, e.g. if this is set to "4096 65536 8388608" the send buffer size is set to 65536.
* Remove unnecessary #includesMaarten Bosmans2011-06-221-3/+2
|
* Merge remote-tracking branch 'mkbosmans/mingw32-build'Colin Guthrie2011-03-201-1/+0
|\
| * Use pulsecore/arpa-inet.h to make arpa/inet.h functionality availableMaarten Bosmans2011-03-191-1/+0
| | | | | | | | Automatically use replacement function on platforms (win32) where not all arpa/inet.h is available natively.
* | Fix up according to Coding StyleMaarten Bosmans2011-03-111-22/+11
|/ | | | Only whitespace changes in here
* poll() is totally broken on Mac OS XDaniel Mack2009-12-161-5/+0
| | | | | | Even on 10.5.8, poll() does not do the right thing. Haven't checked on newer versions. Hence, wrap all occurences of poll() to pa_poll and emulate that call with select() on OSX. This is totally embarassing.
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-1/+1
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* revive solaris moduleFinn Thain2009-03-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi All, This patch fixes the solaris audio device source and sink, and fixes some portability issues that break the build on solaris. Questions and comments welcomed. I've tested this patch only with OpenSolaris Express snv 103. Eventually I hope to be able to test a few older releases and older hardware (though it is hard to say whether there is much interest in those). This is my first brush with pulseaudio and so I read the wiki docs and some of the source code but I'm still unsure of a few things. In particular I'm wondering about rewind processing, corking and what (if anything) the module needs for those. I'm also unclear on the implications of thread_info.buffer_size, .fragment_size and .max_request, and whether my code is correct or not. This patch disables link map/library versioning unless ld is GNU ld. Another approach for solaris would be to use that linker's -M option, but I couldn't make that work (due to undefined mainloop, browse and simple symbols when linking pacat. I can post the errors if anyone is intested.) Thanks, Finn Thain
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* raop: Log teardown explicitlyColin Guthrie2009-03-011-0/+4
|
* Modularise the RAOP stuff that requires OpenSSL and make it optional at ↵Colin Guthrie2008-10-081-0/+561
compile time