Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1e0ba9c authored by Mahendra Satpathy's avatar Mahendra Satpathy Committed by Richard Tullberg
Browse files

Add invalidateTracks for IAfMmapThread

InvalidateTracks is needed for audio_stream_type_t to
be accessed from AudioFlinger.

Test: manual
Bug: 397227423
Change-Id: Ic2e2e519280dc6e4f5f00f50d230b99097a09d01
parent 3d42053b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -684,6 +684,9 @@ public:
    virtual void invalidateTracks(std::set<audio_port_handle_t>& portIds)
            EXCLUDES_ThreadBase_Mutex = 0;

    virtual void invalidateTracks(audio_stream_type_t streamType)
            EXCLUDES_ThreadBase_Mutex = 0;

    // Sets the UID records silence - TODO(b/291317898)  move to IAfMmapCaptureThread
    virtual void setRecordSilenced(audio_port_handle_t portId, bool silenced)
            EXCLUDES_ThreadBase_Mutex = 0;