summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2011-07-01 10:13:54 +0100
committerNarayan Kamath <narayan@google.com>2011-07-14 17:04:28 +0100
commitc3da8818f0598b3ab2cd6f4168349da6d0f72cb1 (patch)
tree1a6b88171e41fd5780f1f6562f561412d6e4bec1 /tools/aidl/generate_java.cpp
parent1a70f093273fb58e4c7778c8e064b4489c0bd7d8 (diff)
Remove the completeAudioAvailable API.
Measurements have shown that the audio track in streaming mode is pretty efficient as is, thanks to dalvik's JNI implementation. Also, in streaming mode write( ) blocks until all data has been copied to the mixer, which is the kind of behaviour we want so that we don't have to explicitly block in our code. Also, the java AudioTrack is thread-safe with respect to stop( ) calls during write, which means we can do everything completeAudioAvailable did, just as efficiently without it. Change-Id: I70a8a108d94c7260676673979b5ea29f37fa5db4
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions