diff options
author | Steve Kondik <steve@cyngn.com> | 2015-12-29 03:48:19 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-12-29 05:03:24 -0800 |
commit | 8ca3dfd881424650951d1d72ee8809367b1c3d96 (patch) | |
tree | fe31c282698cab6797ec97e245f3abbe6c55817f /include | |
parent | b19f3604b0abc7d3b835acb11c8dbc37fee8fe3d (diff) | |
download | frameworks_av-8ca3dfd881424650951d1d72ee8809367b1c3d96.zip frameworks_av-8ca3dfd881424650951d1d72ee8809367b1c3d96.tar.gz frameworks_av-8ca3dfd881424650951d1d72ee8809367b1c3d96.tar.bz2 |
nuplayer: Enable PCM offload for any source
* Use the raw PCM format to perform the early open of the audio sink.
This ensures that the renderer will do the same.
* Fill in stubs for timestamp and position calculation. This fixes
underruns and other issues.
Change-Id: I8d761e523194cc12f387b4b2aa1594536e56da01
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioTrack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index 191802d..6f07f98 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -624,7 +624,7 @@ private: */ status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed = NULL, size_t *nonContig = NULL); - friend struct ExtendedMediaUtils; + friend struct AVMediaUtils; public: /* Public API for TRANSFER_OBTAIN mode. |