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

Commit 545beebc 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: I60f9b04006d561407c0d010a1d2b698174809846
parents 209684aa 1631d1c5
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;