A rather big change to how tracks are loaded: there are now two parts to the process...
commitd020474ad66db4d0fd2607889c92a67f18483bb0
authornicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Mon, 14 Apr 2008 16:17:47 +0000 (14 16:17 +0000)
committernicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Mon, 14 Apr 2008 16:17:47 +0000 (14 16:17 +0000)
treec93b3fa9d0e3210cae0658ecd1d44673c62bd97c
parent55d0712493caf21974be652bff6eaf6dfc8537b3
A rather big change to how tracks are loaded: there are now two parts to the process and metadata loading is done by the buffering thread (except for the first unbuffered track). The audio thread now calls audio_load_track, and once the metadata is loaded, the buffering thread sends an event which will make the audio thread call audio_finish_load_track. This one then takes care of the rest of the loading.
This method makes skipping noticeably faster for unbuffered tracks, and especially backwards.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17109 a1c6a512-1295-4272-9138-f99709370657
apps/buffering.c
apps/playback.c