commit | 704aec434e921c3cee833f9e113d89c3216c1f14 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Jul 13 11:08:29 2023 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Jul 13 11:25:47 2023 -0700 |
tree | 1652836e2a7469981b693c2b70d8f56725cef028 | |
parent | 521fc49fba3de4f0843a04625ebc369933b47352 [diff] |
audio: Add optional 'DriverInterface::getPosition' method. This is a method which can be optionally implemented by a stream in case it can provide more exact position, for example by taking into account data in intermediate buffers. Implemented this method for StreamAlsa and StreamRemoteSubmix. Bug: 264712385 Test: atest VtsHalAudioCoreTargetTest Change-Id: I392933f8f6b22d784726925199db00dcb0313648