Merge "Temporary workaround for issue 3187563"
This commit is contained in:
@@ -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<MediaPlayer> player = mSoundPlayer[kind];
|
||||
if (player != 0) {
|
||||
|
||||
Reference in New Issue
Block a user