From b5ccb2d99b2af400c70777a6452f090ac14f5a96 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Mon, 13 Jan 2014 14:42:43 -0800 Subject: Make copy of audio_offload_info_t for future use Change-Id: I515970aa0660418d5d1640fb1bf477e112c89bdd --- include/media/AudioTrack.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 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 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. -- cgit v1.1