Revert "audio: allow standby for direct track" am: eeb744f5f9 am: 1910616e2e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/11901472

Change-Id: I40e7c06c74c4b9309adcb352da3c2b67271871f3
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 89d0a85..5930117 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -6062,10 +6062,6 @@
     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) {