summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDivya Narayanan Poojary <dnaray@codeaurora.org>2014-05-08 18:59:18 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:24:54 -0600
commit4a3c3a9ae68cec2193b724a56faf36863d5bc681 (patch)
tree5a4cf6ff05d59a68771f0dc21713fd7d2c0eba82 /include
parentda0b7d776844f3ddbfbc7c82ed802af33e78c4fe (diff)
downloadframeworks_av-4a3c3a9ae68cec2193b724a56faf36863d5bc681.zip
frameworks_av-4a3c3a9ae68cec2193b724a56faf36863d5bc681.tar.gz
frameworks_av-4a3c3a9ae68cec2193b724a56faf36863d5bc681.tar.bz2
audio:mute duration at the beginning of the recording
-Sometimes shutter sound is getting recorded because current kAutoRampStartUs is not sufficient to mute the shutter sound -Fix is to increase the kAutoRampStartUs to 500ms. Change-Id: Id37b48c4bb7b5c903ef502f933eaff7be0ea566c CRs-Fixed: 636491
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/AudioSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/AudioSource.h b/include/media/stagefright/AudioSource.h
index 3074910..0c4865a 100644
--- a/include/media/stagefright/AudioSource.h
+++ b/include/media/stagefright/AudioSource.h
@@ -68,7 +68,7 @@ private:
// This is the initial mute duration to suppress
// the video recording signal tone
- kAutoRampStartUs = 0,
+ kAutoRampStartUs = 500000,
};
Mutex mLock;