From 223fd5c9738e9665e495904d37d4632414b68c1e Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Tue, 11 Nov 2014 13:43:36 -0800 Subject: audio: new routing strategies and stream types Added new routing strategies and stream type for internal use by audio policy manager and audio flinger: - One for accessibility to allow different routing than media - One for re-routing (remote submix) in preparation of dynamic policies - Added stream type for "internal" audio flinger tracks used for audio patches and duplication. Bug: 18067208. Change-Id: I88f884b552e51e4a49c29125e5a1204cf58ff434 --- services/audioflinger/AudioFlinger.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'services/audioflinger/AudioFlinger.h') diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 4fb372d..aa0af1f 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -745,6 +745,8 @@ private: void closeInputInternal_l(sp thread); void setAudioHwSyncForSession_l(PlaybackThread *thread, audio_session_t sessionId); + status_t checkStreamType(audio_stream_type_t stream) const; + #ifdef TEE_SINK // all record threads serially share a common tee sink, which is re-created on format change sp mRecordTeeSink; -- cgit v1.1