OSDN Git Service

audioflinger: do not use raw pointer for tracks
authorEric Laurent <elaurent@google.com>
Fri, 15 Nov 2013 20:02:28 +0000 (12:02 -0800)
committerEric Laurent <elaurent@google.com>
Fri, 15 Nov 2013 20:11:39 +0000 (12:11 -0800)
commitd7e59228caad3867794d847f6bf163c6495e9506
treef09784ce425a6928c56a932101752b63b21d8f44
parent7dae71d606ded1dbc2aa9733c3d98ffac57988f2
audioflinger: do not use raw pointer for tracks

Commit 9da3d95 surfaced a problem caused by the use of a raw
pointer to a track in offload thread implementation.

Pointers to tracks should always be weak or strong pointers.

Bug: 11708529.
Change-Id: Ic48632532d186c9be8261f73cefdf824b9fbbd2b
services/audioflinger/Threads.cpp
services/audioflinger/Threads.h