summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-10-26 18:28:45 +0000
committerThomas Martitz <kugel@rockbox.org>2011-10-26 18:28:45 +0000
commitd3c21023e0fe00db6bff1e4e54a036d182377c1f (patch)
tree85543efa65dcfa66b7ad06b1ebbf8b5e7ed439ec /apps/main.c
parenta02bd81c03b6391382b6bfeb046e55b0e4fd25f6 (diff)
downloadrockbox-d3c21023e0fe00db6bff1e4e54a036d182377c1f.tar.gz
rockbox-d3c21023e0fe00db6bff1e4e54a036d182377c1f.tar.bz2
rockbox-d3c21023e0fe00db6bff1e4e54a036d182377c1f.zip
Add pcm_rec_init() to the sim's init.
It makes sim behavior a little more target-like and enables to reproduce FS#12241. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30839 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index 8f635ed9b1..c2dfc1a435 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -408,7 +408,11 @@ static void init(void)
scrobbler_init();
audio_init();
-
+
+#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING)
+ pcm_rec_init();
+#endif
+
settings_apply_skins();
}
@@ -687,7 +691,7 @@ static void init(void)
audio_init();
CHART("<audio_init");
-#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && !defined(SIMULATOR)
+#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING)
pcm_rec_init();
#endif