diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-14 21:32:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-14 21:32:56 +0000 |
commit | 771ed79f73734cca78a1af22d2b426c19cb5c15a (patch) | |
tree | 1ad7f8ee71937bbaa79821f51b36852713cedfb8 /apps | |
parent | 9237af7414d9351d1c0447e65a3a1757428df0a7 (diff) | |
download | rockbox-771ed79f73734cca78a1af22d2b426c19cb5c15a.tar.gz rockbox-771ed79f73734cca78a1af22d2b426c19cb5c15a.zip |
make pcmbuf_init() an empty macro on targets with HW codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index d2942b5e02..182d464649 100644 --- a/apps/main.c +++ b/apps/main.c @@ -63,6 +63,8 @@ #if (CONFIG_HWCODEC == MASNONE) #include "pcmbuf.h" +#else +#define pcmbuf_init() #endif #if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR) #include "pcm_record.h" @@ -126,7 +128,7 @@ void init(void) global_settings.mdb_enable, global_settings.superbass); audio_init(); - pcmbuf_init(); + pcmbuf_init(); button_clear_queue(); /* Empty the keyboard buffer */ } |