Loading services/audioflinger/Threads.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -4996,6 +4996,10 @@ bool AudioFlinger::DirectOutputThread::shouldStandby_l() bool trackPaused = false; bool trackStopped = false; if ((mType == DIRECT) && audio_is_linear_pcm(mFormat) && !usesHwAvSync()) { return !mStandby; } // do not put the HAL in standby when paused. AwesomePlayer clear the offloaded AudioTrack // after a timeout and we will enter standby then. if (mTracks.size() > 0) { Loading Loading
services/audioflinger/Threads.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -4996,6 +4996,10 @@ bool AudioFlinger::DirectOutputThread::shouldStandby_l() bool trackPaused = false; bool trackStopped = false; if ((mType == DIRECT) && audio_is_linear_pcm(mFormat) && !usesHwAvSync()) { return !mStandby; } // do not put the HAL in standby when paused. AwesomePlayer clear the offloaded AudioTrack // after a timeout and we will enter standby then. if (mTracks.size() > 0) { Loading