Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello Oboe example shows "0" latency before Android 8.0 #15

Closed
philburk opened this issue Nov 19, 2017 · 2 comments
Closed

Hello Oboe example shows "0" latency before Android 8.0 #15

philburk opened this issue Nov 19, 2017 · 2 comments
Assignees

Comments

@philburk
Copy link
Collaborator

Timur Achmetow reported that the latency report in the HelloOboe example only works on Android 8 or higher. He tested the example on Android 7 and it always shows 0ms for latency.

@philburk philburk changed the title Oboe example shows "0" latency before Android 8.0 Hello Oboe example shows "0" latency before Android 8.0 Nov 19, 2017
@philburk
Copy link
Collaborator Author

The latency calculation is based on getTimestamp(), which is not supported on OpenSL ES. It just returns OBOE_ERROR_UNIMPLEMENTED. The UI code should detect that and display "?" or "Only supported on 8.0 or above".

@dturner
Copy link
Collaborator

dturner commented Nov 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants