Bug 827840 - [camera] shutter sound is almost inaudible, r=sicking, a=bb+

--HG--
extra : rebase_source : d58d00d2bc9d4865c63f8877fecd7c2da5b75e87
This commit is contained in:
rlin@mozilla.com 2013-01-09 11:09:37 +08:00
parent 01d7c333be
commit cf387657f5

View File

@ -210,6 +210,9 @@ AudioManager::AudioManager() : mPhoneState(PHONE_STATE_CURRENT),
AudioSystem::initStreamVolume(static_cast<audio_stream_type_t>(loop), 0,
sMaxStreamVolumeTbl[loop]);
}
// Force publicnotification to output at maximal volume
AudioSystem::setStreamVolumeIndex(static_cast<audio_stream_type_t>(AUDIO_STREAM_ENFORCED_AUDIBLE),
sMaxStreamVolumeTbl[AUDIO_STREAM_ENFORCED_AUDIBLE]);
}
AudioManager::~AudioManager() {