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
1 file changed