mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
volume: add first mmx optimized function
Add code for an mmx optimized version of s16ne volume scaling. Install the custom function.
This commit is contained in:
parent
2d73f13567
commit
3a0b012ee0
4 changed files with 428 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ 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);
|
||||
|
||||
#define PA_CHANNEL_POSITION_MASK_LEFT \
|
||||
(PA_CHANNEL_POSITION_MASK(PA_CHANNEL_POSITION_FRONT_LEFT) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue