From fb6cd86063bacb43ae7caff9983447e16a75477a Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 15 Apr 2006 14:33:19 +0000 Subject: [PATCH] Make mp3lib say that it's using Altivec to decode instead of generic C when it uses the optimized IMDCT. patch by Alexander Strange, astrange __ at __ ithinksw __ dot __ com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18102 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp3lib/sr1.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c index 9ac4bf4065..83af764823 100644 --- a/mp3lib/sr1.c +++ b/mp3lib/sr1.c @@ -446,6 +446,13 @@ void MP3_Init(){ mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using Pentium optimized decore!\n"); } 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 */