summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-28 19:55:30 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-28 19:55:30 +0000
commit65d43a2d223f39f5f4f6d7394052aecd6263a9e0 (patch)
treee046b4249cccda737f4665697d2f05e6c113cbd8 /apps/pcmbuf.h
parentd7170b7542f9a593377f2f36e3d1f933681af718 (diff)
downloadrockbox-65d43a2d223f39f5f4f6d7394052aecd6263a9e0.tar.gz
rockbox-65d43a2d223f39f5f4f6d7394052aecd6263a9e0.tar.bz2
rockbox-65d43a2d223f39f5f4f6d7394052aecd6263a9e0.zip
Define empty macros for cpu boosting on targets with no such a feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r--apps/pcmbuf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index cce7c4ec77..629f969e7d 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -33,8 +33,13 @@ bool pcmbuf_add_chunk(void *addr, int size, void (*callback)(void));
int pcmbuf_num_used_buffers(void);
void pcmbuf_set_watermark(int numbytes, void (*callback)(int bytes_left));
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
void pcmbuf_boost(bool state);
void pcmbuf_set_boost_mode(bool state);
+#else
+#define pcmbuf_boost(state) do { } while(0)
+#define pcmbuf_set_boost_mode(state) do { } while(0)
+#endif
bool pcmbuf_is_lowdata(void);
void pcmbuf_flush_audio(void);
void pcmbuf_play_start(void);