summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-24 17:01:44 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-24 17:01:44 +0200
commit57fb77134b319c6f7eaf262c561082fcae49c1a3 (patch)
tree30bf42209bbcdb3497c29b467a091d16164b9471
parent419b071a1eaf96870021b894f837fbf3da74ca80 (diff)
remap: fix build for non-x86 buildsv0.9.16-test6
-rw-r--r--src/pulsecore/remap_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/remap_mmx.c b/src/pulsecore/remap_mmx.c
index bfcae6c5..00252dac 100644
--- a/src/pulsecore/remap_mmx.c
+++ b/src/pulsecore/remap_mmx.c
@@ -95,6 +95,7 @@
"4: \n\t" \
" emms \n\t"
+#if defined (__i386__) || defined (__amd64__)
static void remap_mono_to_stereo_mmx (pa_remap_t *m, void *dst, const void *src, unsigned n) {
pa_reg_x86 temp;
@@ -138,6 +139,7 @@ static void init_remap_mmx (pa_remap_t *m) {
pa_log_info("Using MMX mono to stereo remapping");
}
}
+#endif /* defined (__i386__) || defined (__amd64__) */
void pa_remap_func_init_mmx (pa_cpu_x86_flag_t flags) {
#if defined (__i386__) || defined (__amd64__)