summaryrefslogtreecommitdiff
path: root/apps/talk.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-09 12:30:14 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-09 12:30:14 +0000
commit98cd3e8868a54541dce9875dfaf04e2695a97c37 (patch)
tree1bd3c9ead8c83baba4e735f437e8c63dc4391449 /apps/talk.c
parent8e7ab3dfffe3cec8716f0842c0c9dca152402eb7 (diff)
Install the single stage synchronous audio initialization I cooked up awhile back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12693 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r--apps/talk.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 370604f923..f975ca2028 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -182,12 +182,6 @@ static void load_voicefile(void)
load_size = file_size;
#endif
-#ifndef SIMULATOR
- /* Wait until the audio is initialized before continuing */
- while(!audio_is_initialized)
- sleep(HZ/100);
-#endif
-
got_size = read(filehandle, audiobuf, load_size);
if (got_size != load_size /* failure */)
goto load_err;