Wim Taymans
951bf1b28d
svolume: add ARM optimized volume scaling
2009-08-20 11:31:03 +02:00
Wim Taymans
25724cdd40
Get rid of liboil
...
Get rid of the liboil dependency and reimplement the liboil functions with an
equivalent C implementation. Note that most of these functions are deprecated in
liboil and that none of them had any optimisations. We can further specialize
our handrolled versions for some extra speedups.
2009-08-20 11:31:03 +02:00
Wim Taymans
563cb2dea9
main: hook up cpu detection code
...
Add CPU detection code to activate the various optimisations.
Move some method definitions around.
Use compatibility macros when we can.
2009-08-20 11:31:03 +02:00
Wim Taymans
7086784573
volume_sse: add sse optimisations
2009-08-20 11:31:02 +02:00
Wim Taymans
3a0b012ee0
volume: add first mmx optimized function
...
Add code for an mmx optimized version of s16ne volume scaling. Install the
custom function.
2009-08-20 11:31:02 +02:00
Tanu Kaskinen
bcaba0b1b4
Merge branch 'master' of git://0pointer.de/pulseaudio into dbus-work
...
Conflicts:
src/Makefile.am
src/daemon/daemon-conf.c
src/daemon/daemon.conf.in
src/modules/module-stream-restore.c
src/pulse/client-conf.c
src/pulsecore/namereg.c
2009-08-16 21:25:48 +03:00
Lennart Poettering
a1598c742e
daemon: reset gids too, not just uids
2009-08-14 19:28:18 +02:00
Lennart Poettering
27b8cd783c
daemon: reset scheduling priority on startup, too
2009-08-12 21:37:40 +02:00
Lennart Poettering
ef176ecb62
core-util: move personality resetting into core-util
2009-08-12 21:36:52 +02:00
Lennart Poettering
9f53aa5546
daemon: unconditionally clean up priviliges
2009-08-12 21:35:48 +02:00
Lennart Poettering
facae1f275
conf: invert all negative boolean configuration option
2009-08-12 20:15:28 +02:00
Lennart Poettering
eb40da25d6
daemon: install D-Bus system policy file for PA system instances
...
Original patch from 'mgrela'.
http://pulseaudio.org/ticket/582
2009-08-12 01:50:24 +02:00
Diego Elio 'Flameeyes' Pettenò
4c15115007
Split OSS support in output and wrapper.
...
Since Fedora does not enable OSS output support at all, but still uses
padsp, and in Gentoo we could also make use of padsp without OSS output
support, split the two things in two parameters, although they both check
for sys/soundcard.h once.
2009-08-08 01:53:15 +02:00
Lennart Poettering
88d5749f6a
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
...
Conflicts:
src/daemon/main.c
2009-07-23 15:18:06 +02:00
Lennart Poettering
41ad33dfe7
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
2009-07-22 22:49:06 +02:00
Lennart Poettering
2f54b5df18
daemon: reset personality, to make the autospawn env cleaup complete
2009-07-22 22:47:51 +02:00
Tanu Kaskinen
9347e90fed
Finish the Core dbus interface.
2009-07-21 00:02:27 +03:00
Lennart Poettering
a2b207e38a
daemon: before exec'ing ourselves, make sure nobody plays games with /proc/self/exe
2009-07-20 15:48:36 +01:00
Diego Elio 'Flameeyes' Pettenò
84200b423e
Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
...
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.
2009-07-16 15:57:41 +02:00
Tanu Kaskinen
5c7952e4fa
dbus: Implement the Name property of the core object.
2009-07-03 02:49:07 +03:00
Tanu Kaskinen
6e2fec05dd
server-lookup: Update the D-Bus identifiers to be versioned.
2009-06-30 15:21:20 +03:00
Tanu Kaskinen
c266595058
Merge branch 'master' into dbus-work
2009-06-29 18:55:12 +03:00
Diego Elio 'Flameeyes' Pettenò
2f7bce9375
Add a missing sys/stat.h include for FreeBSD to declare umask().
2009-06-29 17:40:56 +02:00
Tanu Kaskinen
0bc538b08c
Merge branch 'master' into dbus-work
...
Conflicts:
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/pulsecore/dbus-util.h
2009-06-29 18:35:06 +03:00
Lennart Poettering
3ee29004a9
rtclock: fix build after merge
2009-06-22 23:15:01 +02:00
Lennart Poettering
fc33f7ee97
Merge most of elmarco/rtclock2
...
Merge commit 'e4d914c945 '
2009-06-22 23:09:46 +02:00
Lennart Poettering
de5219aafb
daemon: enable module-intended-roles by default
2009-06-22 22:44:29 +02:00
Marc-André Lureau
0955e3d45b
Base mainloop on pa_rtclock_now()
...
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>
2009-06-20 17:29:31 +03:00
Marc-André Lureau
125c528896
pulse: move pa_rtclock_now in pulsecommon
2009-06-20 17:29:08 +03:00
Lennart Poettering
32e2cd6d32
core: get rid of rt sig/timer handling since modern Linux' ppooll() is finally fixed for granularity
2009-06-19 21:00:06 +02:00
Lennart Poettering
a62db279b7
daemon: enable real-time by default
2009-06-19 18:21:35 +02:00
Marc-André Lureau
5dcdd5e358
perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' find . -name '*.[ch]'
2009-06-19 19:04:04 +03:00
Lennart Poettering
9c438bcac6
daemon: strip all special suid/caps log from our startup code, we'll now rely on RealtimeKit for all high-priority/RT scheduling policy issues
2009-06-19 17:37:18 +02:00
Tanu Kaskinen
3c6a0acc98
dbus-protocol: Implement TCP server startup.
2009-06-19 15:17:57 +03:00
Tanu Kaskinen
123c6a3c6f
dbus-common: Implement infrastructure for registering D-Bus objects on all
...
client connections and for receiving method calls from clients.
2009-06-19 10:28:08 +03:00
Lennart Poettering
0b479ffbba
daemon: write a warning blurb to syslog when folks use --system mode
2009-06-17 03:00:51 +02:00
Tanu Kaskinen
c8d819a5ad
dbus-protocol: Connection handling for local connections.
2009-06-16 19:03:22 +03:00
Tanu Kaskinen
5babbaafb2
daemon: Implement the DBus server lookup service.
2009-06-12 07:22:33 +03:00
Lennart Poettering
78bccde226
conf: remove obsolete module-idle-time directive from default config file/man page
2009-06-07 00:45:51 +02:00
Lennart Poettering
a9b38b3530
daemon: optionally call mlockall() on startup
2009-06-07 00:45:47 +02:00
Lennart Poettering
e84644aa88
hal,udev: deprecate HAL support in favour of udev
2009-06-06 03:26:55 +02:00
Lennart Poettering
4d874753f5
utils: use pa_path_get_filename() where applicable
2009-06-04 23:19:48 +02:00
Tanu Kaskinen
c94e7421aa
Create module-dbus-protocol with "Hello, world!" functionality.
2009-06-03 15:21:50 +03:00
Lennart Poettering
c224aace42
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
2009-05-28 02:47:36 +02:00
Lennart Poettering
759a9d0cc5
core-util: introduce pa_disable_sigpipe()
2009-05-26 00:02:29 +02:00
Lennart Poettering
edba78c8e0
start-pulseaudio-x11: don't start a local sound server if a remote sound server is configured
2009-04-22 22:05:20 +02:00
Lennart Poettering
684b4c116c
memtrap: hook up core to memtrap system
2009-04-21 22:56:08 +02:00
Lennart Poettering
40d71e1f49
explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute
2009-04-14 01:22:42 +02:00
Lennart Poettering
a36197c9d0
print session id when starting up
2009-04-13 22:21:26 +02:00
Lennart Poettering
6eaeaea581
Downgrade default log level to NOTICE to follow documentation
...
Closes #527
2009-04-10 03:41:25 +02:00