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

Commit b74dc56b authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "AudioPolicyManager: add comment for disabling offload when streaming." into nyc-dev

parents de223b40 4ca44d77
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2222,6 +2222,8 @@ bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadI
    }
    }


    // Check if streaming is off, then only allow offload as of now.
    // 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)
    if (offloadInfo.is_streaming)
    {
    {
        ALOGV("isOffloadSupported: is_streaming == true, returning false");
        ALOGV("isOffloadSupported: is_streaming == true, returning false");