OSDN Git Service

Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting...
authorEric Laurent <elaurent@google.com>
Fri, 23 Oct 2009 11:46:30 +0000 (04:46 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 23 Oct 2009 13:54:33 +0000 (06:54 -0700)
commitdd28d56368441537ec5eb42150516416fdbf10ad
tree912eb6dfd9ed5d4be75eb4fb50b94631e092d7e9
parent7580493b014a2c7ea883cd291255798dc72ebbff
Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.

Unlock mLock mutex when exiting upon wait stop timeout condition.
Increase timeout delays to avoid timing out when A2DP exits standby.
media/libmedia/ToneGenerator.cpp