summaryrefslogtreecommitdiff
path: root/libs/audioflinger/AudioHardwareInterface.cpp
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2009-07-20 14:05:33 -0700
committer Jean-Michel Trivi <jmtrivi@google.com> 2009-07-20 16:07:57 -0700
commit5e11a6ad00b062d604b30578e0fb412ae4586989 (patch)
tree4762a0c6d6ebb7dec291f02a5438ec292564d746 /libs/audioflinger/AudioHardwareInterface.cpp
parent5f6133a100d4477dfcea919e81ff301f9352cd32 (diff)
Prevent the setLanguage() method in TextToSpeech to change the language
for all current TextToSpeech instances by only caching the language value so it is used with each subsequent utterance for this instance. Synchronize calls to the engine around a global mutex since the engine isn't thread-safe, except for the stop() call which is meant to interrupt the synthesis loop.
Diffstat (limited to 'libs/audioflinger/AudioHardwareInterface.cpp')
0 files changed, 0 insertions, 0 deletions