aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/openal/ALVersion.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-10-06 13:01:54 +0200
committerSven Gothel <[email protected]>2023-10-06 13:01:54 +0200
commitd3de587eae8ed8b5b5bc62647da0f95297144294 (patch)
treedc63cdf04e133e3803df8a7b6bb78c734fa97684 /src/java/com/jogamp/openal/ALVersion.java
parent05529d4d6cd857e5bcd87be3b342c3fe7ba7655e (diff)
ALAudioSink: getPTS() returns time-adjusted last dequeued PTS, new updateQueue() dequeues w/o wait 1st, then returns adjusted PTS; Simplify/split waitFroReleaded*(); Use TSPrinter for DEBUG
Returning the time-adjusted PTS from the last dequeued frame seems to be the most accurate value we can deliver. Hence we store the Clock.currentMillis() in playing_pts_t0 when updating playing_pts and add the difference to current Clock.currentMillis() when retrieving.
Diffstat (limited to 'src/java/com/jogamp/openal/ALVersion.java')
0 files changed, 0 insertions, 0 deletions