{"action":"closed","issue":{"url":"https://api.github.com/repos/google/oboe/issues/69","repository_url":"https://api.github.com/repos/google/oboe","labels_url":"https://api.github.com/repos/google/oboe/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/google/oboe/issues/69/comments","events_url":"https://api.github.com/repos/google/oboe/issues/69/events","html_url":"https://github.com/google/oboe/issues/69","id":303989367,"number":69,"title":"Add method to obtain latency of a stream","user":{"login":"philburk","id":5175913,"avatar_url":"https://avatars0.githubusercontent.com/u/5175913?v=4","gravatar_id":"","url":"https://api.github.com/users/philburk","html_url":"https://github.com/philburk","followers_url":"https://api.github.com/users/philburk/followers","following_url":"https://api.github.com/users/philburk/following{/other_user}","gists_url":"https://api.github.com/users/philburk/gists{/gist_id}","starred_url":"https://api.github.com/users/philburk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philburk/subscriptions","organizations_url":"https://api.github.com/users/philburk/orgs","repos_url":"https://api.github.com/users/philburk/repos","events_url":"https://api.github.com/users/philburk/events{/privacy}","received_events_url":"https://api.github.com/users/philburk/received_events","type":"User","site_admin":false},"labels":[{"id":708795514,"url":"https://api.github.com/repos/google/oboe/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":799809239,"url":"https://api.github.com/repos/google/oboe/labels/high%20priority","name":"high priority","color":"d86595","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-09T21:41:43Z","updated_at":"2018-05-01T23:55:33Z","closed_at":"2018-05-01T23:55:33Z","author_association":"COLLABORATOR","body":"This was moved from an internal Android bug tracker.\r\n\r\nFor many developers knowing the latency of a stream is more important than obtaining very low latency. \r\n\r\nFor example, in karaoke apps, the latency of the recording and playback streams must be known in order to synchronise the user's recorded voice over the backing track. \r\n\r\nAnother example is recording in Audio Workstation apps (DAWs), the recorded audio must be synchronised with the current track. Doing this requires knowing the latency of the recording and playback streams.  \r\n\r\nWe could add the following method to a utility.\r\n\r\nint32_t  getLatency()\r\n\r\nwhich returns the latency of the stream in microseconds or nanoseconds (milliseconds does not have sufficient precision)."}}
{"actor":{"display_login":"philburk"}}