summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/AudioPolicyService.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-07-28 17:26:49 -0700
committerEric Laurent <elaurent@google.com>2014-07-28 18:10:29 -0700
commit4dc680607181e6a76f4e91a39366c4f5dfb7b03e (patch)
tree5212b6ff474b8ef68a68cb1cf144f54e5348de77 /services/audiopolicy/AudioPolicyService.h
parentd530d415e60373caf875a37d2d747a51470ee45c (diff)
downloadframeworks_av-4dc680607181e6a76f4e91a39366c4f5dfb7b03e.zip
frameworks_av-4dc680607181e6a76f4e91a39366c4f5dfb7b03e.tar.gz
frameworks_av-4dc680607181e6a76f4e91a39366c4f5dfb7b03e.tar.bz2
audio policy: pass session ID to capture activity methods
Indicate the audio session ID when calling getInput(), startInput(), stopInput(), releaseInput(). Bug: 12378680. Change-Id: I763793752f93e2f4e1445a5ab217c895af011038
Diffstat (limited to 'services/audiopolicy/AudioPolicyService.h')
-rw-r--r--services/audiopolicy/AudioPolicyService.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/services/audiopolicy/AudioPolicyService.h b/services/audiopolicy/AudioPolicyService.h
index 3769aab..97236e3 100644
--- a/services/audiopolicy/AudioPolicyService.h
+++ b/services/audiopolicy/AudioPolicyService.h
@@ -91,9 +91,12 @@ public:
audio_channel_mask_t channelMask,
int audioSession,
audio_input_flags_t flags);
- virtual status_t startInput(audio_io_handle_t input);
- virtual status_t stopInput(audio_io_handle_t input);
- virtual void releaseInput(audio_io_handle_t input);
+ virtual status_t startInput(audio_io_handle_t input,
+ audio_session_t session);
+ virtual status_t stopInput(audio_io_handle_t input,
+ audio_session_t session);
+ virtual void releaseInput(audio_io_handle_t input,
+ audio_session_t session);
virtual status_t initStreamVolume(audio_stream_type_t stream,
int indexMin,
int indexMax);