From 6dbc1359f778575d09d6da722b060a6d72c2e7c5 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Thu, 2 Feb 2012 10:56:47 -0800 Subject: AudioRecord and AudioTrack client tid Inform AudioFlinger of the tid of the callback thread. Change-Id: I670df92dd06749b057238b48ed1094b13aab720b --- include/media/IAudioRecord.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/media/IAudioRecord.h') diff --git a/include/media/IAudioRecord.h b/include/media/IAudioRecord.h index 46735de..7869020 100644 --- a/include/media/IAudioRecord.h +++ b/include/media/IAudioRecord.h @@ -37,8 +37,9 @@ public: /* After it's created the track is not active. Call start() to * make it active. If set, the callback will start being called. + * tid identifies the client callback thread, or 0 if not needed. */ - virtual status_t start() = 0; + virtual status_t start(pid_t tid) = 0; /* Stop a track. If set, the callback will cease being called and * obtainBuffer will return an error. Buffers that are already released -- cgit v1.1