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

Commit 1631d1c5 authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

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

parents d3448da0 02caae5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3434,7 +3434,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;