From 4db3e8965270dfe813a14c5ee9bcd0b645eb2edf Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 1 Sep 2011 12:15:43 +0000 Subject: 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 --- apps/recorder/recording.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/recording.c') 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 */ -- cgit v1.2.3