summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/rtpoll.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'zonque/topic/osx'Lennart Poettering2010-01-051-7/+2
|\
| * poll() is totally broken on Mac OS XDaniel Mack2009-12-161-7/+2
| | | | | | | | | | | | 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.
* | Subject: rtpoll: better support for DEBUG_TIMING logsPierre-Louis Bossart2010-01-051-3/+20
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On all the platforms I tested, PulseAudio is frequently awaken and doesn't sleep for the duration specified for the poll timeout. Sometimes wake-ups occur within milliseconds of the poll call for no good reason; this seems to be related to ALSA issues (see my posts on the ALSA mailing list on null poll events). This patch enables a better log of requested sleep times v. actual sleep times. Enable DEBUG_TIMING to see actual messages. Please let me know if you see odd behaviors like the one below - Pierre E: rtpoll.c: rtpoll_run E: rtpoll.c: poll timeout: 188 ms E: rtpoll.c: Process time 0 ms; sleep time 48 ms E: rtpoll.c: rtpoll_run E: rtpoll.c: rtpoll finish E: rtpoll.c: rtpoll_run E: rtpoll.c: poll timeout: 139 ms E: rtpoll.c: Process time 0 ms; sleep time 49 ms E: rtpoll.c: rtpoll_run E: rtpoll.c: rtpoll finish E: rtpoll.c: rtpoll_run E: rtpoll.c: poll timeout: 189 ms E: rtpoll.c: Process time 0 ms; sleep time 0 ms E: rtpoll.c: rtpoll_run E: rtpoll.c: rtpoll finish E: rtpoll.c: rtpoll_run E: rtpoll.c: poll timeout: 189 ms E: rtpoll.c: Process time 0 ms; sleep time 49 ms
* alsa: automatically decrease watermark after a time of stabilityLennart Poettering2009-08-241-15/+13
|
* Rename the wait parameter to wait_op, to avoid shadowing wait().Diego Elio 'Flameeyes' Pettenò2009-06-291-4/+4
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-221-4/+4
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * pulse: move pa_rtclock_now in pulsecommonMarc-André Lureau2009-06-201-1/+1
| |
| * perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`Marc-André Lureau2009-06-191-3/+3
| |
* | core: get rid of rt sig/timer handling since modern Linux' ppooll() is ↵Lennart Poettering2009-06-191-172/+4
|/ | | | finally fixed for granularity
* simplify some codeLennart Poettering2009-02-201-40/+37
|
* make it easier to debug timing related problemsLennart Poettering2009-02-201-7/+42
|
* don't try to recycle rtpoll objectsLennart Poettering2009-02-121-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-1/+1
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* add another assert to catch sleep time miscalculations easierLennart Poettering2008-05-171-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2461 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-62/+74
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. FixesSjoerd Simons2008-01-041-0/+2
| | | | | | | | | compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno for the patch git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2095 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-0/+751
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f