Revert "audioflinger: implement silenced capture for mmap"
This reverts commit a2f478ca0b2bda8db9b321f0cfa9e9d3cf6130f9.
Bug: 78118584
Change-Id: Ie0da3dea445f2474c7a889c5f9919305c1c96d40
diff --git a/services/oboeservice/AAudioServiceEndpointMMAP.cpp b/services/oboeservice/AAudioServiceEndpointMMAP.cpp
index 713ce60..52990da 100644
--- a/services/oboeservice/AAudioServiceEndpointMMAP.cpp
+++ b/services/oboeservice/AAudioServiceEndpointMMAP.cpp
@@ -343,9 +343,8 @@
}
-void AAudioServiceEndpointMMAP::onTearDown(audio_port_handle_t handle __unused) {
+void AAudioServiceEndpointMMAP::onTearDown() {
ALOGD("%s(%p) called", __func__, this);
- //TODO: disconnect only stream corresponding to handle received
disconnectRegisteredStreams();
};