mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
remap: build sse code only on x86
This commit is contained in:
parent
14a9771689
commit
6f396c89ab
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,7 @@
|
||||||
" jne 3b \n\t" \
|
" jne 3b \n\t" \
|
||||||
"4: \n\t"
|
"4: \n\t"
|
||||||
|
|
||||||
|
#if defined (__i386__) || defined (__amd64__)
|
||||||
static void remap_mono_to_stereo_sse (pa_remap_t *m, void *dst, const void *src, unsigned n) {
|
static void remap_mono_to_stereo_sse (pa_remap_t *m, void *dst, const void *src, unsigned n) {
|
||||||
pa_reg_x86 temp, temp2;
|
pa_reg_x86 temp, temp2;
|
||||||
|
|
||||||
|
|
@ -144,6 +145,7 @@ static void init_remap_sse (pa_remap_t *m) {
|
||||||
pa_log_info("Using SSE mono to stereo remapping");
|
pa_log_info("Using SSE mono to stereo remapping");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* defined (__i386__) || defined (__amd64__) */
|
||||||
|
|
||||||
void pa_remap_func_init_sse (pa_cpu_x86_flag_t flags) {
|
void pa_remap_func_init_sse (pa_cpu_x86_flag_t flags) {
|
||||||
#if defined (__i386__) || defined (__amd64__)
|
#if defined (__i386__) || defined (__amd64__)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue