summaryrefslogtreecommitdiffstats
path: root/mp3lib/sr1.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib/sr1.c')
-rw-r--r--mp3lib/sr1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index 9ac4bf4065..83af764823 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -447,6 +447,13 @@ void MP3_Init(){
}
else
#endif
+#ifdef HAVE_ALTIVEC
+ if (gCpuCaps.hasAltiVec)
+ {
+ mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using AltiVec optimized decore!\n");
+ }
+ else
+#endif
{
synth_func = NULL; /* use default c version */
mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using generic C decore!\n");