summaryrefslogtreecommitdiffstats
path: root/include/media/IAudioRecord.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-02 10:56:47 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-14 07:30:48 -0800
commit6dbc1359f778575d09d6da722b060a6d72c2e7c5 (patch)
tree721c46e8b89595b51a80ee71c71542895edc1308 /include/media/IAudioRecord.h
parent7a8b0ed6419e57dd8b41d3806893d63d3df91aab (diff)
downloadframeworks_av-6dbc1359f778575d09d6da722b060a6d72c2e7c5.zip
frameworks_av-6dbc1359f778575d09d6da722b060a6d72c2e7c5.tar.gz
frameworks_av-6dbc1359f778575d09d6da722b060a6d72c2e7c5.tar.bz2
AudioRecord and AudioTrack client tid
Inform AudioFlinger of the tid of the callback thread. Change-Id: I670df92dd06749b057238b48ed1094b13aab720b
Diffstat (limited to 'include/media/IAudioRecord.h')
-rw-r--r--include/media/IAudioRecord.h3
1 files changed, 2 insertions, 1 deletions
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