summaryrefslogtreecommitdiffstats
path: root/include/media/AudioTrack.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-20 09:01:44 -0700
committerGlenn Kasten <gkasten@google.com>2015-03-23 14:52:03 -0700
commitbfd318402924414fbde4d31c9d23cc423f10b630 (patch)
tree35662fc06a14886bfcb74cfc6dbdf274a3497ee7 /include/media/AudioTrack.h
parent4c36d6f48f4eecacc148317f775f65961a4f03d2 (diff)
downloadframeworks_av-bfd318402924414fbde4d31c9d23cc423f10b630.zip
frameworks_av-bfd318402924414fbde4d31c9d23cc423f10b630.tar.gz
frameworks_av-bfd318402924414fbde4d31c9d23cc423f10b630.tar.bz2
set() in AudioRecord and AudioTracks needs no lock
Change-Id: I9d61b3d117e9b21fbbfad772d8981a5abb8fafae
Diffstat (limited to 'include/media/AudioTrack.h')
-rw-r--r--include/media/AudioTrack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 81b1181..818c8cd 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -238,6 +238,7 @@ public:
/* Initialize an AudioTrack that was created using the AudioTrack() constructor.
* Don't call set() more than once, or after the AudioTrack() constructors that take parameters.
+ * set() is not multi-thread safe.
* Returned status (from utils/Errors.h) can be:
* - NO_ERROR: successful initialization
* - INVALID_OPERATION: AudioTrack is already initialized