diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-09-01 12:15:43 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-09-01 12:15:43 +0000 |
commit | 4db3e8965270dfe813a14c5ee9bcd0b645eb2edf (patch) | |
tree | ff785e25196226037c509428497b95f0e1e219b9 /apps/radio/radio.c | |
parent | d67d6a8462e02770d81d6a01f3193d0a2050fbe2 (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/radio/radio.c')
-rw-r--r-- | apps/radio/radio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 1a77709f9c..4524707289 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c @@ -418,7 +418,7 @@ void radio_screen(void) /* turn on radio */ #if CONFIG_CODEC == SWCODEC /* This should be done before touching audio settings */ - while (!audio_is_thread_ready()) + while (!pcm_is_initialized()) sleep(0); audio_set_input_source(AUDIO_SRC_FMRADIO, |