Commit eb0545cb authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in use of getPositionUsec()"

parents bbc2464b a9391573
......@@ -696,7 +696,7 @@ CacheStatus_t AudioSfDecoder::getCacheRemaining(bool *eos) {
// fill level is ratio of how much has been played + how much is
// cached, divided by total duration
uint32_t currentPositionUsec = getPositionUsec();
int64_t currentPositionUsec = getPositionUsec();
if (currentPositionUsec == ANDROID_UNKNOWN_TIME) {
// if we don't know where we are, assume the worst for the fill ratio
currentPositionUsec = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment