Skip to content

Commit

Permalink
audio tracking fix: google#2
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Feb 11, 2019
1 parent 936b979 commit 5482c7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private long getPlaybackHeadPosition() {
} else {
AudioTimestamp timestamp = new AudioTimestamp();
audioTrack.getTimestamp(timestamp);
rawPlaybackHeadPosition = timestamp.framePosition;
rawPlaybackHeadPosition = 0xFFFFFFFFL & timestamp.framePosition;
}

if (needsPassthroughWorkarounds) {
Expand Down

0 comments on commit 5482c7e

Please sign in to comment.