diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:30:14 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:30:14 +0000 |
commit | 98cd3e8868a54541dce9875dfaf04e2695a97c37 (patch) | |
tree | 1bd3c9ead8c83baba4e735f437e8c63dc4391449 /apps/talk.c | |
parent | 8e7ab3dfffe3cec8716f0842c0c9dca152402eb7 (diff) | |
download | rockbox-98cd3e8868a54541dce9875dfaf04e2695a97c37.tar.gz rockbox-98cd3e8868a54541dce9875dfaf04e2695a97c37.zip |
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.c | 6 |
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) | |||
182 | load_size = file_size; | 182 | load_size = file_size; |
183 | #endif | 183 | #endif |
184 | 184 | ||
185 | #ifndef SIMULATOR | ||
186 | /* Wait until the audio is initialized before continuing */ | ||
187 | while(!audio_is_initialized) | ||
188 | sleep(HZ/100); | ||
189 | #endif | ||
190 | |||
191 | got_size = read(filehandle, audiobuf, load_size); | 185 | got_size = read(filehandle, audiobuf, load_size); |
192 | if (got_size != load_size /* failure */) | 186 | if (got_size != load_size /* failure */) |
193 | goto load_err; | 187 | goto load_err; |