google / google/oboe

CLOCK_BOOTTIME does not work for gettimestamp

Open
#1,476 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
4.1k
Forks
639
Avg merge
2d 23h
Merged PRs (30d)
8

Description

Android version(s): 10
Android device(s): Pixel 3 XL
Oboe version: 1.6.1
App name used for testing:
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)
LiveEffect
**Short description**
(Please only report one bug per Issue. Do not combine multiple bugs.)
**Steps to reproduce**
Try stream->getTimestamp(CLOCK_MONOTONIC) and stream->getTimestamp(CLOCK_BOOTTIME) in LiveEffect.
**Expected behavior**
They should output different timestamps for the same frame position.
**Actual behavior**
They output the same timestamps whose clock source is the same as System.nanotime().
**Device**

**Any additional context**

If applicable, please attach a few seconds of an uncompressed recording of the sound in a WAV or AIFF file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.