Accept FS#8918: Voice multiple thumbnails and talk race fixes.
commit6859896fb3fcd302ed04283766af9e6d31a2aead
authorsdoyon <sdoyon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Jul 2008 14:06:11 +0000 (15 14:06 +0000)
committersdoyon <sdoyon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Jul 2008 14:06:11 +0000 (15 14:06 +0000)
tree72db68190ff77e70e0d9ffc0df4753a24b2261e1
parent544b968b94f1c165cc0d283686bf8c61a001c1ff
Accept FS#8918: Voice multiple thumbnails and talk race fixes.

-Allows loading multiple thumbnails back-to-back in the one thumbnail buffer.
-Mutex to prevent race conditions with talk queue indices and
thumbnail buffer state.
-Synchronous shutup.
-Shutup is a noop if no voice is queued.
-mp3_play_stop() does nothing until the audio thread is ready.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18046 a1c6a512-1295-4272-9138-f99709370657
apps/playback.c
apps/playback.h
apps/talk.c
apps/voice_thread.c