summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make the rtstutter tests mostly pointless without CLOCK_REALTIME.Diego Elio 'Flameeyes' Pettenò2009-07-171-0/+4
| | | | | | On the other hand, this actually makes the test build, and test at least that it doesn't abort away, when the CLOCK_REALTIME interface is not present (or when clock_gettime is not found).
* Check for support of -z nodelete LD flag, don't use it unconditionally.Diego Elio 'Flameeyes' Pettenò2009-07-171-1/+1
| | | | | | | On non-GNU, non-Sun linkers, the -z option is often not understood; make sure that the -z nodelete option is usable before making use of it. Unbreaks build on Mac OS X.
* Merge commit 'flameeyes/master'Colin Guthrie2009-07-162-24/+2
|\
| * Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).Diego Elio 'Flameeyes' Pettenò2009-07-162-24/+2
| | | | | | | | | | | | | | | | Instead of trying to re-execute pulseaudio itself with LD_BIND_NOW set, just find the correct flag for the linker to request immediate bindings (all ELF files support that option), and use that when linking the daemon. Reduce the amount of compiled and executed code as well.
* | introspect: Fix two memory issues in port handling code.Colin Guthrie2009-07-121-1/+9
|/ | | | | First one is a simple typo on an error condition that would have likely caused issues if it ever cropped up. Second issue is that port information is never actually freed if everything works fine.
* stream-restore: mark volume changes from instant apply as saved onesv0.9.16-test2Lennart Poettering2009-07-011-6/+7
|
* bluetooth: don't connect on unconnected profileMarc-André Lureau2009-07-011-0/+9
|
* bluetooth: warn on EAGAIN after POLLOUTMarc-André Lureau2009-07-011-0/+3
|
* memtrap: properly lock access to memtrap changerLennart Poettering2009-07-011-0/+20
|
* memblock: rearrange locking orderLennart Poettering2009-07-011-17/+21
|
* reserve: update from upstream git repoLennart Poettering2009-07-014-1/+33
|
* alsa: fix a few commentsLennart Poettering2009-07-011-2/+1
|
* build-sys: add missing dependency to libcliLennart Poettering2009-07-011-1/+1
|
* libpulse: minor cleanupsLennart Poettering2009-07-011-11/+19
|
* native: don't hit assert when user uploads zero-sized sampleLennart Poettering2009-07-011-1/+3
|
* bluetooth: don't busy loop when device is not writable but we want to writeLennart Poettering2009-07-011-1/+1
|
* bluetooth: handle absence of bluez D-Bus service properlyLennart Poettering2009-07-011-11/+66
|
* reserve: fix build without D-BusLennart Poettering2009-06-301-0/+4
|
* introspect: Fix a bug in sink/source info protocol handling related to ports.Colin Guthrie2009-06-291-60/+64
| | | | | | Previously the active_profile was extracted from the tagstruct regardless of the protocol version which caused errors while speaking to older version servers.
* combine: Do not set (and update) description if the user passed one in ↵Colin Guthrie2009-06-291-1/+12
| | | | | | | during load. Note that this will not turn off auto-description setting if the user were to update the proplist later, so such a change could be short lived.
* udev: Don't install the udev rules if we're not compiling udev supportColin Guthrie2009-06-291-0/+2
|
* Add missing headers includes for FreeBSD.Diego Elio 'Flameeyes' Pettenò2009-06-292-0/+5
| | | | This removes the implicit declarations of send() and pthread_sigmask().
* Rename the flock variable to f_lock.Diego Elio 'Flameeyes' Pettenò2009-06-291-8/+8
| | | | flock() is a function on FreeBSD, and the variable shadowed its definition.
* Only declare saved_errno when it's going to be used (on Linux).Diego Elio 'Flameeyes' Pettenò2009-06-291-2/+1
|
* Rename the wait parameter to wait_op, to avoid shadowing wait().Diego Elio 'Flameeyes' Pettenò2009-06-292-13/+13
|
* Remove the call for pa_rtpoll_install() in the Solaris module.Diego Elio 'Flameeyes' Pettenò2009-06-291-1/+0
| | | | | | I hope this is enough, since the removal of the other pa_rtpoll_install() calls deemed Linux good enough, but said nothing about Solaris, but since the function is gone there is little more to do.
* Fix the moved rtclock.h header in the Solaris module.Diego Elio 'Flameeyes' Pettenò2009-06-291-1/+1
|
* Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+5
|
* Add a missing sys/stat.h include for FreeBSD to declare umask().Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+1
|
* Don't try to compile the rtkit sources when dbus is not enabled.Diego Elio 'Flameeyes' Pettenò2009-06-291-2/+3
| | | | This change only affects the buildsystem: source code was correct already.
* Implement mix-test for s24le and s24be sample formats.Diego Elio 'Flameeyes' Pettenò2009-06-291-0/+29
|
* Use static constants to keep the generated sample blocks.Diego Elio 'Flameeyes' Pettenò2009-06-291-46/+20
|
* Ignore IPv6 tests, if IPv6 was built in but the system doesn't have it.Diego Elio 'Flameeyes' Pettenò2009-06-291-2/+4
| | | | | This removes a test failure when an IPv6-enabled PulseAudio is tested on a system where IPv6 is not enabled in kernel.
* Properly link module-zeroconf-publish against libnative-protocol.Diego Elio 'Flameeyes' Pettenò2009-06-291-1/+1
| | | | | | | | | Without this change, undefined symbols will be found in the module and the link will be rejected (thanks to the just-made change to reject outstanding undefined symbols). Also, in -test1, without this change it would have caused the module to not load because of missing symbols.
* Check for and use flags to reject undefined symbols in libraries.Diego Elio 'Flameeyes' Pettenò2009-06-291-1/+1
| | | | | | Make sure that all the PulseAudio modules are built properly without outstanding undefined symbols: if the undefined symbols are found, reject link.
* sndfile: fix build on BE archsv0.9.16-test1Lennart Poettering2009-06-231-1/+1
|
* build-sys: don't make pulseaudio binary suid on install anymoreLennart Poettering2009-06-231-1/+0
|
* intended-roles: drop quite a few unnecessary includesLennart Poettering2009-06-231-12/+1
|
* modules: pass properly initialized userdata pointers to various hooksLennart Poettering2009-06-233-6/+6
|
* intended-roles: properly initialize split stateLennart Poettering2009-06-231-1/+1
|
* rtclock: make use of constants when converting between nsec and usecLennart Poettering2009-06-231-3/+3
|
* intended-roles: fix symdef header inclusionLennart Poettering2009-06-231-1/+1
|
* rtclock: fix type of PA_TIMEVAL_RTCLOCKLennart Poettering2009-06-231-1/+1
|
* timeval: don't create the wrong illusion that nsecs should be stored in ↵Lennart Poettering2009-06-231-3/+3
| | | | pa_usec_t
* rtclock: document that we fallback to wallclock time if monotonic time is ↵Lennart Poettering2009-06-231-2/+4
| | | | not supported
* rtclock: enable rtclock for our own mainloop implementationsLennart Poettering2009-06-223-4/+14
|
* rtclock: fix build after mergeLennart Poettering2009-06-222-1/+1
|
* Merge most of elmarco/rtclock2Lennart Poettering2009-06-2256-335/+510
|\ | | | | | | Merge commit 'e4d914c945c13d23b131d7ba75fbdd03cb6d0043'
| * rtclock: fix issues found by LennartMarc-André Lureau2009-06-204-12/+26
| |
| * Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-2042-233/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>