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

Commit 43d271ed authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "benchmark: Support "software" instance of codec2 service" am: af46079f am: 6e47b7e0

Change-Id: Ia4960ea24a4f450dbdd54b353ab0e0e298b311ca
parents 43e68a08 6e47b7e0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,9 @@
int32_t BenchmarkC2Common::setupCodec2() {
    ALOGV("In %s", __func__);
    mClient = android::Codec2Client::CreateFromService("default");
    if (!mClient) {
        mClient = android::Codec2Client::CreateFromService("software");
    }
    if (!mClient) return -1;

    std::shared_ptr<C2AllocatorStore> store = android::GetCodec2PlatformAllocatorStore();