Home
last modified time | relevance | path

Searched refs:mSoundPlayer (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2239 if (SOUND_SHUTTER == kind && mSoundPlayer[SOUND_SHUTTER] == NULL) { in loadSoundLocked()
2240 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/product/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2241 if (mSoundPlayer[SOUND_SHUTTER] == nullptr) { in loadSoundLocked()
2242 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/system/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2244 } else if (SOUND_RECORDING_START == kind && mSoundPlayer[SOUND_RECORDING_START] == NULL) { in loadSoundLocked()
2245mSoundPlayer[SOUND_RECORDING_START] = newMediaPlayer("/product/media/audio/ui/VideoRecord.ogg"); in loadSoundLocked()
2246 if (mSoundPlayer[SOUND_RECORDING_START] == nullptr) { in loadSoundLocked()
2247 mSoundPlayer[SOUND_RECORDING_START] = in loadSoundLocked()
2250 } else if (SOUND_RECORDING_STOP == kind && mSoundPlayer[SOUND_RECORDING_STOP] == NULL) { in loadSoundLocked()
2251mSoundPlayer[SOUND_RECORDING_STOP] = newMediaPlayer("/product/media/audio/ui/VideoStop.ogg"); in loadSoundLocked()
[all …]
DCameraService.h800 sp<MediaPlayer> mSoundPlayer[NUM_SOUNDS]; variable