Merge "Fix isssue 2548710: Native AudioTrack resources never freed." into froyo
This commit is contained in:
@@ -1488,7 +1488,7 @@ uint32_t AudioFlinger::MixerThread::prepareTracks_l(const SortedVector< wp<Track
|
|||||||
// for all its buffers to be filled before processing it
|
// for all its buffers to be filled before processing it
|
||||||
mAudioMixer->setActiveTrack(track->name());
|
mAudioMixer->setActiveTrack(track->name());
|
||||||
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] on thread %p", track->name(), cblk->user, cblk->server, this);
|
//LOGV("track %d u=%08x, s=%08x [OK] on thread %p", track->name(), cblk->user, cblk->server, this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user