summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/SoundPlayer.java
Commit message (Collapse)AuthorAgeFilesLines
* Switch sound playing to use Camera.playSound()Eino-Ville Talvala2011-11-081-122/+0
| | | | | | | | | Instead of using a few private APIs to properly manage audio output for panorama, effects recording, and focus notification, use the new Camera API for sound playback. Bug: 5447107 Change-Id: I7d5a3d9502f36c199ea75a89e2c6b878185f880f
* Play a sound when starting and stopping recording with effects.Eino-Ville Talvala2011-10-111-1/+12
| | | | | | | | | | Normally, CameraService takes care of this, but with the effects recording, CameraService doesn't know when recording is toggled on and off. Mirrors the code in CameraService.cpp in terms of enforcing audio output. Bug: 5383166 Change-Id: I2175c1090ff57884d17cb422532a7930f29e10de
* Allow user to adjust the focus and shutter sound volume.Chih-Chung Chang2011-10-071-1/+1
| | | | | | | This also fix the problem that user need to slience the ringer to silence the focus/shutter sound. Change-Id: Ia4ae5feb4926172fd8af7dc4023525f2ab7daa0e
* Change focus sound.Wu-cheng Li2011-10-061-0/+111
bug:5401870 Change-Id: Ifb5c61ad52489c0b8fb711ba6ada624f20f0e880