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

Commit a9acac5a authored by Andy Hung's avatar Andy Hung
Browse files

AudioFlinger: Fix clang-tidy warning

performance-unnecessary-value-param

Test: ALLOW_LOCAL_TIDY_TRUE=1 mm -j .
Change-Id: I30481b22f5825df0ce54157b6444268c992723ef
parent 068e08ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3923,7 +3923,7 @@ void AudioFlinger::updateSecondaryOutputsForTrack_l(
sp<audioflinger::SyncEvent> AudioFlinger::createSyncEvent(AudioSystem::sync_event_t type,
sp<audioflinger::SyncEvent> AudioFlinger::createSyncEvent(AudioSystem::sync_event_t type,
                                    audio_session_t triggerSession,
                                    audio_session_t triggerSession,
                                    audio_session_t listenerSession,
                                    audio_session_t listenerSession,
                                    audioflinger::SyncEventCallback callBack,
                                    const audioflinger::SyncEventCallback& callBack,
                                    const wp<RefBase>& cookie)
                                    const wp<RefBase>& cookie)
{
{
    Mutex::Autolock _l(mLock);
    Mutex::Autolock _l(mLock);
+1 −1
Original line number Original line Diff line number Diff line
@@ -378,7 +378,7 @@ public:
    sp<audioflinger::SyncEvent> createSyncEvent(AudioSystem::sync_event_t type,
    sp<audioflinger::SyncEvent> createSyncEvent(AudioSystem::sync_event_t type,
                                        audio_session_t triggerSession,
                                        audio_session_t triggerSession,
                                        audio_session_t listenerSession,
                                        audio_session_t listenerSession,
                                        audioflinger::SyncEventCallback callBack,
                                        const audioflinger::SyncEventCallback& callBack,
                                        const wp<RefBase>& cookie);
                                        const wp<RefBase>& cookie);


    bool        btNrecIsOff() const { return mBtNrecIsOff.load(); }
    bool        btNrecIsOff() const { return mBtNrecIsOff.load(); }