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

Skip to content
Commit 82b657f4 authored by Wei Jia's avatar Wei Jia
Browse files

Fix bugs regarding clamping of numFrames variable.

there is a clamping value in getDurationUsIfPlayedAtSampleRate function
numFrames parameter is uint32_t type. when return value, cast uint32_t to int32_t.
that make clamp value of numFrames
Test: compiles
Bug: 123665692

Change-Id: I12e35df3030659bc10b3e86ed9d1712be6b62a88
parent bceab46b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment