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

Commit 50fa06cf authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix cert-dcl16-c clang-tidy warnings in libaudioclient.

Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: If3d86617594250e2a9ed79c46bf39852a9a723b2
parent 14c577fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ static inline nsecs_t framesToNanoseconds(ssize_t frames, uint32_t sampleRate, f

static int64_t convertTimespecToUs(const struct timespec &tv)
{
    return tv.tv_sec * 1000000ll + tv.tv_nsec / 1000;
    return tv.tv_sec * 1000000LL + tv.tv_nsec / 1000;
}

// TODO move to audio_utils.