# HG changeset patch # User diego # Date 1145111599 0 # Node ID a3d76e5ea6c251ceff03cf3ae1f05c0ab874c019 # Parent 826a0faa2a0f56b32b13d32e548da99f116609eb 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 diff -r 826a0faa2a0f -r a3d76e5ea6c2 mp3lib/sr1.c --- a/mp3lib/sr1.c Sat Apr 15 14:24:36 2006 +0000 +++ b/mp3lib/sr1.c Sat Apr 15 14:33:19 2006 +0000 @@ -447,6 +447,13 @@ } 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");