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

Commit 3272ac8a authored by Andy Hung's avatar Andy Hung Committed by android-build-merger
Browse files

Merge "Remove powerlog from audio hal" into oc-dev

am: 1631d1c5

Change-Id: I0c935af8839d674f91953b23b5fe630df9ac1d73
parents 643bd3d0 1631d1c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3693,7 +3693,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,

    // power_log may be null if the format is not supported
    // or not a userdebug or eng build.
    if (is_userdebug_or_eng_build()) {
    if (false /* is_userdebug_or_eng_build() */) {
        const size_t POWER_LOG_FRAMES_PER_ENTRY =
                (long long)config->sample_rate * POWER_LOG_SAMPLING_INTERVAL_MS / 1000;