diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2010-09-14 15:21:49 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2010-09-23 17:17:03 +0530 |
commit | ab4223e9cffbc21399c0468dd89a2e57122fbfee (patch) | |
tree | f8111c47778ff5f8b0f42f0dd60cda7fb9193625 /src/pulsecore/core.h | |
parent | ffcf3c8a6c3f8a98eaa9bad5b9b573fa843da9cb (diff) |
cpu: Add CPU information to pa_core
This retains CPU information (processor type and supported features) in
pa_core, so that this information can be used by modules at init time to
figure out what optimisations may be used.
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r-- | src/pulsecore/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h index bfcea4f6..6088f915 100644 --- a/src/pulsecore/core.h +++ b/src/pulsecore/core.h @@ -24,6 +24,7 @@ #include <pulse/mainloop-api.h> #include <pulse/sample.h> +#include <pulsecore/cpu.h> typedef struct pa_core pa_core; @@ -169,6 +170,7 @@ struct pa_core { int realtime_priority; pa_server_type_t server_type; + pa_cpu_info cpu_info; /* hooks */ pa_hook hooks[PA_CORE_HOOK_MAX]; |