summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-04-30 23:51:24 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-04-30 23:51:24 +0000
commit0d6b5557a113afab41c7ef239c9ce5ddabebea8b (patch)
tree7f79fb7f8fb43a18f4e25184126b7dd09593a7da /apps/recorder/recording.c
parent67ff2624bfc279418578cef3914b9a93e44b4126 (diff)
Fix red builds?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9843 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index f4a3580123..cf361eea76 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -552,7 +552,12 @@ bool recording_screen(void)
#if (CONFIG_LED == LED_REAL) && !defined(SIMULATOR)
ata_set_led_enabled(false);
#endif
+
+#ifndef SIMULATOR
audio_init_recording(talk_get_bufsize());
+#else
+ audio_init_recording(0);
+#endif
sound_set_volume(global_settings.volume);