const static int DTMF_PRESET = 200;
const static int DEFAULT_DTMF_PRESET = 3000;
-const static int MAX_VOLUME = 100;
-const static int MIN_VOLUME = 0;
-const static int VOLUME_STEP = 10;
#define TONE_PLAYER_SECTION_NAME L"TonePlayer"
return E_FAILURE;
}
+void
+VideoRecorderForm::ResetConfigurationValues(void)
+{
+ __brightnessSliderValue = INIT;
+ __contrastSliderValue = INIT;
+ __exposureSliderValue = INIT;
+}
+
result
VideoRecorderForm::ReloadAllConfiguration(void)
{
SetFooterItem(1, L"Back", ID_TOGGLE_CAMERA_TYPE);
}
+ ResetConfigurationValues();
+
Activate(null);
return E_SUCCESS;
}
void
VideoRecorderForm::OnVideoRecorderStopped(result r)
{
- AppLog("OnVideoRecorderStopped ");
+ AppLog("OnVideoRecorderStopped %s", GetErrorMessage(r));
SendUserEvent(RECORDER_ON_STOP, null);
ShowFooterItem(0, true);
if (__cameraCount > 1) //if camera count is 2 then only use secondary camera.
void DeletePopup(Popup** pPopup);
result AddSlider(Slider** pSliderCtrl, int minval, int maxval, String title, Popup* pPopup);
result ReloadAllConfiguration(void);
+ void ResetConfigurationValues(void);
void DeleteAllPopups(void);
void ResetTimeVariables(void);
void SetFotterItems(void);