diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-08-13 17:12:44 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-08-20 11:31:03 +0200 |
commit | 563cb2dea9f7f73180e2b8cc8d45b0df9358c936 (patch) | |
tree | 644a47e8dd0cc9e72ec5768ff8729b9bc4405e67 /src/daemon | |
parent | a83f5524fbf2f0fa861d2fae6973f0f42e8c9c25 (diff) |
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.
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index 3c5f7f95d..774b4e904 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -95,6 +95,7 @@ #ifdef HAVE_DBUS #include <pulsecore/dbus-shared.h> #endif +#include <pulsecore/cpu-x86.h> #include "cmdline.h" #include "cpulimit.h" @@ -821,8 +822,7 @@ int main(int argc, char *argv[]) { pa_memtrap_install(); - pa_volume_func_init_mmx(); - pa_volume_func_init_sse(); + pa_cpu_init_x86(); pa_assert_se(mainloop = pa_mainloop_new()); |