summaryrefslogtreecommitdiff
path: root/apps/recorder
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
parentd67d6a8462e02770d81d6a01f3193d0a2050fbe2 (diff)
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')
-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)
#if CONFIG_CODEC == SWCODEC
/* This should be done before touching audio settings */
- while (!audio_is_thread_ready())
+ while (!pcm_is_initialized())
sleep(0);
/* recording_menu gets messed up: so prevent manus talking */