diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp index 535f07fa136ef..a0013d08e36ff 100644 --- a/services/camera/libcameraservice/CameraService.cpp +++ b/services/camera/libcameraservice/CameraService.cpp @@ -277,6 +277,10 @@ void CameraService::releaseSound() { void CameraService::playSound(sound_kind kind) { LOG1("playSound(%d)", kind); + // FIXME: temporarily disable sound while working on audio HAL issues preventing simultaneous + // playback and record + if (kind == SOUND_RECORDING) return; + Mutex::Autolock lock(mSoundLock); sp player = mSoundPlayer[kind]; if (player != 0) {