diff options
author | Glenn Kasten <gkasten@google.com> | 2014-01-13 14:42:43 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-01-16 17:03:16 -0800 |
commit | b5ccb2d99b2af400c70777a6452f090ac14f5a96 (patch) | |
tree | 2285b78fd6e07eaf38b6e48e149fca91c2acc481 /include | |
parent | dd5f4c8c4059f890e81b28b026a688febb4e1dd9 (diff) | |
download | frameworks_av-b5ccb2d99b2af400c70777a6452f090ac14f5a96.zip frameworks_av-b5ccb2d99b2af400c70777a6452f090ac14f5a96.tar.gz frameworks_av-b5ccb2d99b2af400c70777a6452f090ac14f5a96.tar.bz2 |
Make copy of audio_offload_info_t for future use
Change-Id: I515970aa0660418d5d1640fb1bf477e112c89bdd
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioTrack.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index 789d255..5454d2a 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -661,6 +661,7 @@ protected: audio_track_cblk_t* mCblk; // re-load after mLock.unlock() sp<AudioTrackThread> mAudioTrackThread; + float mVolume[2]; float mSendLevel; mutable uint32_t mSampleRate; // mutable because getSampleRate() can update it. @@ -676,6 +677,8 @@ protected: audio_channel_mask_t mChannelMask; sp<IMemory> mSharedBuffer; transfer_type mTransfer; + audio_offload_info_t mOffloadInfoCopy; + const audio_offload_info_t* mOffloadInfo; // mFrameSize is equal to mFrameSizeAF for non-PCM or 16-bit PCM data. For 8-bit PCM data, it's // twice as large as mFrameSize because data is expanded to 16-bit before it's stored in buffer. |