diff options
author | Joonghun Park <jh718.park@samsung.com> | 2013-09-06 22:50:29 +0900 |
---|---|---|
committer | Joonghun Park <jh718.park@samsung.com> | 2013-09-06 22:51:20 +0900 |
commit | 80756169f4cbb29c40a245edfff4fc775df88789 (patch) | |
tree | 7de25c338ea157de16817ca9650613348df45305 | |
parent | 92c5f9db292710ccb8d9c4ea4fac05dbdc5db17f (diff) | |
download | DeviceMotionCapture-80756169f4cbb29c40a245edfff4fc775df88789.tar.gz DeviceMotionCapture-80756169f4cbb29c40a245edfff4fc775df88789.tar.bz2 DeviceMotionCapture-80756169f4cbb29c40a245edfff4fc775df88789.zip |
[title] revise threshold value for triggering sound because of emulator virtual sensor configuration charactor
[issue#] N_SE-51440
[problem] because of the virtual emulator sensor operation configuration, this issue is inevitable
[solve] revise threshold values to make a detour
Change-Id: I630a57d67338449ba6151703c663ec306598ed3e
-rwxr-xr-x | js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ function deviceMotionEvents() { } function playSoundHandler(e) { - if(e.acceleration.x > 7 || e.acceleration.y > 7 || e.acceleration.x < -7 || e.acceleration.y < -7){ + if(e.acceleration.x > 6.2 || e.acceleration.y > 6.3 || e.acceleration.x < -6.2 || e.acceleration.y < -6.2){ audioElem.currentTime = 0; audioElem.volume=1; audioElem.play(); |