am 2dc3da60: am 1921527c: am 9da7730d: Merge "Additional fix for isssue 2548710: Native AudioTrack resources never freed." into froyo
This commit is contained in:
@@ -1867,7 +1867,7 @@ bool AudioFlinger::DirectOutputThread::threadLoop()
|
|||||||
// The first time a track is added we wait
|
// The first time a track is added we wait
|
||||||
// for all its buffers to be filled before processing it
|
// for all its buffers to be filled before processing it
|
||||||
if (cblk->framesReady() && (track->isReady() || track->isStopped()) &&
|
if (cblk->framesReady() && (track->isReady() || track->isStopped()) &&
|
||||||
!track->isPaused())
|
!track->isPaused() && !track->isTerminated())
|
||||||
{
|
{
|
||||||
//LOGV("track %d u=%08x, s=%08x [OK]", track->name(), cblk->user, cblk->server);
|
//LOGV("track %d u=%08x, s=%08x [OK]", track->name(), cblk->user, cblk->server);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user