5291095089
Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e so that an invalid IO handle (0) is returned in case of failure. Applied the same correction to openOutput(). Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes the record start to fail. Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function. Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account and not change mRecordingState to RECORDSTATE_RECORDING if start fails. |
||
---|---|---|
awt | ||
camera/libcameraservice | ||
cmds | ||
include | ||
libs | ||
opengl | ||
vpn/java/android/net/vpn | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE |