mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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.
This commit is contained in:
parent
a83f5524fb
commit
563cb2dea9
4 changed files with 20 additions and 21 deletions
|
|
@ -91,9 +91,6 @@ typedef void (*pa_do_volume_func_t) (void *samples, void *volumes, unsigned chan
|
|||
pa_do_volume_func_t pa_get_volume_func(pa_sample_format_t f);
|
||||
void pa_set_volume_func(pa_sample_format_t f, pa_do_volume_func_t func);
|
||||
|
||||
void pa_volume_func_init_mmx(void);
|
||||
void pa_volume_func_init_sse(void);
|
||||
|
||||
#define PA_CHANNEL_POSITION_MASK_LEFT \
|
||||
(PA_CHANNEL_POSITION_MASK(PA_CHANNEL_POSITION_FRONT_LEFT) \
|
||||
| PA_CHANNEL_POSITION_MASK(PA_CHANNEL_POSITION_REAR_LEFT) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue