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

Commit 4ca44d77 authored by Wei Jia's avatar Wei Jia
Browse files

AudioPolicyManager: add comment for disabling offload when streaming.

Bug: 23499384
Change-Id: I74214c9cb444b10a6f50ffe499938945c063afca
parent f25f8410
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2201,6 +2201,8 @@ bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadI
    }

    // Check if streaming is off, then only allow offload as of now.
    // This is a temporary work around until the root cause is fixed in offload
    // playback path.
    if (offloadInfo.is_streaming)
    {
        ALOGV("isOffloadSupported: is_streaming == true, returning false");