From 98cd3e8868a54541dce9875dfaf04e2695a97c37 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 9 Mar 2007 12:30:14 +0000 Subject: 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 --- apps/talk.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apps/talk.c') 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; -- cgit v1.2.3