Have voice_wait wait for the PCM buffer to drain. It can only do this if
commit1c6ecc3537a9e51a37337556a9514767786ac649
authorsdoyon <sdoyon@a1c6a512-1295-4272-9138-f99709370657>
Sat, 24 Nov 2007 14:21:04 +0000 (24 14:21 +0000)
committersdoyon <sdoyon@a1c6a512-1295-4272-9138-f99709370657>
Sat, 24 Nov 2007 14:21:04 +0000 (24 14:21 +0000)
tree84008f64876268652f54b0f33fd869a3a07b3eb2
parentc8d32967fe50b49f46c10242ae14ce2b0807e717
Have voice_wait wait for the PCM buffer to drain. It can only do this if
playback is NOT in progress, but that is indeed the case for the only caller
(shutting down message).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15790 a1c6a512-1295-4272-9138-f99709370657
apps/voice_thread.c