OSDN Git Service

Fix a deadlock caused by the AudioPlayer notifying the observer that the stream had...
authorAndreas Huber <andih@google.com>
Wed, 3 Feb 2010 19:37:29 +0000 (11:37 -0800)
committerAndreas Huber <andih@google.com>
Wed, 3 Feb 2010 21:24:26 +0000 (13:24 -0800)
commit70d10c0156f5d2d1c639d0ebe62de8ec950d4306
treea30b9816f4aa7185d44cd852e217b2fda2303187
parent3c4a1ebc19abba06af565071c243e55ba6eef585
Fix a deadlock caused by the AudioPlayer notifying the observer that the stream had ended at the same time the observer was shutting down the AudioPlayer.

related-to-bug: 2414536
include/media/stagefright/AudioPlayer.h
media/libstagefright/AudioPlayer.cpp
media/libstagefright/AwesomePlayer.cpp
media/libstagefright/include/AwesomePlayer.h