diff options
author | Eric Laurent <elaurent@google.com> | 2014-10-22 18:20:35 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-22 18:20:35 +0000 |
commit | 152f59b8cff44f74e6416cf309bfd85e0bb7e1db (patch) | |
tree | 8f23d062d2d1afee174859127964ec99412dcc6b /services/audioflinger/AudioFlinger.h | |
parent | 7140a24c53dac18b7382723e2f89ab4caed220c6 (diff) | |
parent | 6efbadac3ff5c3ddc194faaba44f1fe63e452c7f (diff) | |
download | frameworks_av-152f59b8cff44f74e6416cf309bfd85e0bb7e1db.zip frameworks_av-152f59b8cff44f74e6416cf309bfd85e0bb7e1db.tar.gz frameworks_av-152f59b8cff44f74e6416cf309bfd85e0bb7e1db.tar.bz2 |
am 6efbadac: am b6a89512: am 9d0d5958: Merge "audioflinger: new HW A/V sync ID allocation flow" into lmp-mr1-dev
* commit '6efbadac3ff5c3ddc194faaba44f1fe63e452c7f':
audioflinger: new HW A/V sync ID allocation flow
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 1003017..4fb372d 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -733,6 +733,8 @@ private: // Effect chains without a valid thread DefaultKeyedVector< audio_session_t , sp<EffectChain> > mOrphanEffectChains; + // list of sessions for which a valid HW A/V sync ID was retrieved from the HAL + DefaultKeyedVector< audio_session_t , audio_hw_sync_t >mHwAvSyncIds; private: sp<Client> registerPid(pid_t pid); // always returns non-0 @@ -741,6 +743,7 @@ private: void closeOutputInternal_l(sp<PlaybackThread> thread); status_t closeInput_nonvirtual(audio_io_handle_t input); void closeInputInternal_l(sp<RecordThread> thread); + void setAudioHwSyncForSession_l(PlaybackThread *thread, audio_session_t sessionId); #ifdef TEE_SINK // all record threads serially share a common tee sink, which is re-created on format change |