|
Rockbox mail archiveSubject: Re: miipekk: apps pcmbuf.c, 1.11, 1.12 pcmbuf.h, 1.4, 1.5 playback.c, 1.151, 1.152Re: 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: Sun, 28 Aug 2005 20:07:48 +0200 (CEST) On Sun, 28 Aug 2005, cvs_at_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/rockboxReceived on 2005-08-28 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |