Merge "Fix isssue 2548710: Native AudioTrack resources never freed."
This commit is contained in:
commit
ed02950ce1
@ -1344,7 +1344,7 @@ uint32_t AudioFlinger::MixerThread::prepareTracks_l(const SortedVector< wp<Track
|
||||
// for all its buffers to be filled before processing it
|
||||
mAudioMixer->setActiveTrack(track->name());
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user