mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Fix IndexSeekMap.getTimeUs() javadoc
PiperOrigin-RevId: 660376007
This commit is contained in:
parent
9bc199f107
commit
bef134a093
1 changed files with 2 additions and 3 deletions
|
|
@ -109,9 +109,8 @@ public final class IndexSeekMap implements SeekMap {
|
|||
* Maps a position (byte offset) to a corresponding sample timestamp.
|
||||
*
|
||||
* @param position A seek position (byte offset) relative to the start of the stream.
|
||||
* @return The corresponding timestamp of the sample at or before the given position, in
|
||||
* microseconds, or the timestamp of the last available sample in the seek map if the position
|
||||
* is past the last seek point added, or {@link C#TIME_UNSET} if no seek points exist.
|
||||
* @return The corresponding timestamp of the seek point at or before the given position, in
|
||||
* microseconds, or {@link C#TIME_UNSET} if no seek points exist.
|
||||
*/
|
||||
public long getTimeUs(long position) {
|
||||
if (timesUs.size() == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue