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

Commit 460451e5 authored by Eric Laurent's avatar Eric Laurent
Browse files

Revert "audio policy: fix regression in A2DP playback"

Bug: 70319466

This reverts commit 995ba712.
parent 3a0bd6fc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -249,9 +249,6 @@ void AudioInputDescriptor::close()
        mClientInterface->closeInput(mIoHandle);
        LOG_ALWAYS_FATAL_IF(mProfile->curOpenCount < 1, "%s profile open count %u",
                            __FUNCTION__, mProfile->curOpenCount);
        if (isActive()) {
            mProfile->curActiveCount--;
        }
        mProfile->curOpenCount--;
        mIoHandle = AUDIO_IO_HANDLE_NONE;
    }
+0 −3
Original line number Diff line number Diff line
@@ -462,9 +462,6 @@ void SwAudioOutputDescriptor::close()

        LOG_ALWAYS_FATAL_IF(mProfile->curOpenCount < 1, "%s profile open count %u",
                            __FUNCTION__, mProfile->curOpenCount);
        if (isActive()) {
            mProfile->curActiveCount--;
        }
        mProfile->curOpenCount--;
        mIoHandle = AUDIO_IO_HANDLE_NONE;
    }