Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_wilhelm
Commits
eb0545cb
Commit
eb0545cb
authored
13 years ago
by
Glenn Kasten
Committed by
Android (Google) Code Review
13 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix bug in use of getPositionUsec()"
parents
bbc2464b
a9391573
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/android/android_AudioSfDecoder.cpp
src/android/android_AudioSfDecoder.cpp
+1
-1
No files found.
src/android/android_AudioSfDecoder.cpp
View file @
eb0545cb
...
...
@@ -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
u
int
32
_t
currentPositionUsec
=
getPositionUsec
();
int
64
_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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment