Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: miipekk: apps pcmbuf.c, 1.11, 1.12 pcmbuf.h, 1.4, 1.5 playback.c, 1.151, 1.152

Re: miipekk: apps pcmbuf.c, 1.11, 1.12 pcmbuf.h, 1.4, 1.5 playback.c, 1.151, 1.152

From: Daniel Stenberg <daniel_at_rockbox.org>
Date: 2005-08-28

On Sun, 28 Aug 2005, cvs@labb.contactor.se wrote:

> +static void voice_boost_cpu(bool state)
> +{
> + if (state != voice_cpu_boosted)
> + {
> +#ifdef HAVE_ADJUSTABLE_CPU_FREQ
> + cpu_boost(state);
> +#endif
> + voice_cpu_boosted = state;
> + }
> +}

May I suggest that this whole function instead is made into an empty macro for
the platforms that don't have HAVE_ADJUSTABLE_CPU_FREQ defined? Since it does
nothing for them.

-- 
  Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Sun Aug 28 20:08:53 2005

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa