Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2667 if (SOUND_SHUTTER == kind && mSoundPlayer[SOUND_SHUTTER] == NULL) { in loadSoundLocked()
2668 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/product/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2669 if (mSoundPlayer[SOUND_SHUTTER] == nullptr) { in loadSoundLocked()
2670 mSoundPlayer[SOUND_SHUTTER] = newMediaPlayer("/system/media/audio/ui/camera_click.ogg"); in loadSoundLocked()
2672 } else if (SOUND_RECORDING_START == kind && mSoundPlayer[SOUND_RECORDING_START] == NULL) { in loadSoundLocked()
2673mSoundPlayer[SOUND_RECORDING_START] = newMediaPlayer("/product/media/audio/ui/VideoRecord.ogg"); in loadSoundLocked()
2674 if (mSoundPlayer[SOUND_RECORDING_START] == nullptr) { in loadSoundLocked()
2675 mSoundPlayer[SOUND_RECORDING_START] = in loadSoundLocked()
2678 } else if (SOUND_RECORDING_STOP == kind && mSoundPlayer[SOUND_RECORDING_STOP] == NULL) { in loadSoundLocked()
2679mSoundPlayer[SOUND_RECORDING_STOP] = newMediaPlayer("/product/media/audio/ui/VideoStop.ogg"); in loadSoundLocked()
[all …]
DCameraService.h905 sp<MediaPlayer> mSoundPlayer[NUM_SOUNDS]; variable