summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-09-01 12:15:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-09-01 12:15:43 +0000
commit4db3e8965270dfe813a14c5ee9bcd0b645eb2edf (patch)
treeff785e25196226037c509428497b95f0e1e219b9 /apps/recorder/recording.c
parentd67d6a8462e02770d81d6a01f3193d0a2050fbe2 (diff)
downloadrockbox-4db3e8965270dfe813a14c5ee9bcd0b645eb2edf.tar.gz
rockbox-4db3e8965270dfe813a14c5ee9bcd0b645eb2edf.zip
Shuffle some functions around so that interfacing with playback.c in particular isn't required. Though playback does finish the audio init, pcm doesn't care who does it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 453b2fc42d..d706899b1c 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1074,7 +1074,7 @@ bool recording_screen(bool no_source)
1074 1074
1075#if CONFIG_CODEC == SWCODEC 1075#if CONFIG_CODEC == SWCODEC
1076 /* This should be done before touching audio settings */ 1076 /* This should be done before touching audio settings */
1077 while (!audio_is_thread_ready()) 1077 while (!pcm_is_initialized())
1078 sleep(0); 1078 sleep(0);
1079 1079
1080 /* recording_menu gets messed up: so prevent manus talking */ 1080 /* recording_menu gets messed up: so prevent manus talking */