SWCODEC: Fix a race condition caused by yielding in pcm_mute that could have playback...
commit019fc7ca880b112af2b6643def2fc95d7d7dd9da
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 12 Apr 2007 05:58:09 +0000 (12 05:58 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 12 Apr 2007 05:58:09 +0000 (12 05:58 +0000)
tree72e45659d940b011f375fd46ae4b6e6a56691a93
parent73ae4d2ab4a333734d3bf809dfdb619cb2cf29c6
SWCODEC: Fix a race condition caused by yielding in pcm_mute that could have playback messing around with pcm after supposedly being fully stopped. The pcm buffer mutes consistently on some players (the PP ones) which made audio_stop return too soon. Won't matter if it yields or not now and this should take care of the mpegplayer 'next video' issue.

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