summaryrefslogtreecommitdiffstats
path: root/include/camera/Camera.h
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-09-14 16:49:08 -0700
committerNipun Kwatra <nkwatra@google.com>2010-09-14 16:49:08 -0700
commit3b7b358d1a45844ca427626554ff81f472fd1583 (patch)
tree628389e34737e14cefb22954d66f4e9208bc097f /include/camera/Camera.h
parentb5ca4618a722a21f084fe8bfc1c2992749ccd3f0 (diff)
downloadframeworks_av-3b7b358d1a45844ca427626554ff81f472fd1583.zip
frameworks_av-3b7b358d1a45844ca427626554ff81f472fd1583.tar.gz
frameworks_av-3b7b358d1a45844ca427626554ff81f472fd1583.tar.bz2
Added command type to play recording sound.
Added CAMERA_CMD_PLAY_RECORDING_SOUND command type to play recording sound through sendCommand. This is currently needed by time lapse recording using still mode capture, which disables the shutter sound but needs to play the recording sound. Change-Id: I376aa40f45b6064fd862abc065456b06fc338020
Diffstat (limited to 'include/camera/Camera.h')
-rw-r--r--include/camera/Camera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h
index 9ba5b3d..f7b3b42 100644
--- a/include/camera/Camera.h
+++ b/include/camera/Camera.h
@@ -87,6 +87,9 @@ enum {
// In sendCommand passing arg1 = 0 will disable,
// while passing arg1 = 1 will enable the shutter sound.
CAMERA_CMD_ENABLE_SHUTTER_SOUND = 4,
+
+ // cmdType to play recording sound.
+ CAMERA_CMD_PLAY_RECORDING_SOUND = 5,
};
// camera fatal errors