Revert "Reapply "AudioFlinger: Control volume using Port ID""
This reverts commit af273c6817b7e6b004034aad4f451eb87273dd62.
Reason for revert: DroidMonitor. Potential culprit for http://b/361843371 - verifying through ABTD session before submission.
Change-Id: I21918f26c06793cab65b7052c429aa7249dc489f
diff --git a/services/audioflinger/PatchPanel.cpp b/services/audioflinger/PatchPanel.cpp
index 06f7887..f57470f 100644
--- a/services/audioflinger/PatchPanel.cpp
+++ b/services/audioflinger/PatchPanel.cpp
@@ -647,8 +647,7 @@
outputFlags,
{} /*timeout*/,
frameCountToBeReady,
- 1.0f /*speed*/,
- 1.0f /*volume*/);
+ 1.0f);
status = mPlayback.checkTrack(tempPatchTrack.get());
if (status != NO_ERROR) {
return status;