equal
deleted
inserted
replaced
257 // 1 -> warning tones on |
257 // 1 -> warning tones on |
258 bool warningTonesEnabled = (value.toInt() == 1); |
258 bool warningTonesEnabled = (value.toInt() == 1); |
259 CX_DEBUG(("Warning tones enabled [%d]", value.toInt())); |
259 CX_DEBUG(("Warning tones enabled [%d]", value.toInt())); |
260 |
260 |
261 // check whether capture sound is forced or not |
261 // check whether capture sound is forced or not |
262 int forced = 0; |
262 mCaptureSoundForced = mSettings.get<bool>(CxeSettingIds::CAPTURE_SOUND_ALWAYS_ON, false); |
263 mSettings.get(CxeSettingIds::CAPTURE_SOUND_ALWAYS_ON, forced); |
263 CX_DEBUG(("Capture sound forced [%d]", mCaptureSoundForced)); |
264 // 0 -> capture sound not forced |
|
265 // 1 -> capture sound forced on |
|
266 mCaptureSoundForced = (forced == 1); |
|
267 CX_DEBUG(("Capture sound forced [%d]", forced)); |
|
268 |
264 |
269 // use sound if forced on or warningtones are enabled |
265 // use sound if forced on or warningtones are enabled |
270 mUseSound = mCaptureSoundForced || warningTonesEnabled; |
266 mUseSound = mCaptureSoundForced || warningTonesEnabled; |
271 CX_DEBUG(("Use sound [%d]", mUseSound)); |
267 CX_DEBUG(("Use sound [%d]", mUseSound)); |
272 |
268 |