summaryrefslogtreecommitdiff
path: root/include/recorder_private.h
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:46:08 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:46:08 +0900
commit23f93c7718cd63f3a56caf01435809c19450b2aa (patch)
tree5c75ba06c4870e11650ecfcb67479803c647bfd5 /include/recorder_private.h
parent39ca2f2a722ac0c5b6fd04f8e128ce907f12af63 (diff)
downloadrecorder-23f93c7718cd63f3a56caf01435809c19450b2aa.tar.gz
recorder-23f93c7718cd63f3a56caf01435809c19450b2aa.tar.bz2
recorder-23f93c7718cd63f3a56caf01435809c19450b2aa.zip
Tizen 2.1 base
Diffstat (limited to 'include/recorder_private.h')
-rwxr-xr-xinclude/recorder_private.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/include/recorder_private.h b/include/recorder_private.h
new file mode 100755
index 0000000..8ddf6db
--- /dev/null
+++ b/include/recorder_private.h
@@ -0,0 +1,62 @@
+/*
+* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+
+
+#ifndef __TIZEN_MULTIMEDIA_RECORDER_PRIVATE_H__
+#define __TIZEN_MULTIMEDIA_RECORDER_PRIVATE_H__
+#include <camera.h>
+#include <mm_camcorder.h>
+#include <recorder.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum {
+ _RECORDER_EVENT_TYPE_STATE_CHANGE,
+ _RECORDER_EVENT_TYPE_RECORDING_LIMITED,
+ _RECORDER_EVENT_TYPE_RECORDING_STATUS,
+ _RECORDER_EVENT_TYPE_INTERRUPTED,
+ _RECORDER_EVENT_TYPE_AUDIO_STREAM,
+ _RECORDER_EVENT_TYPE_ERROR,
+ _RECORDER_EVENT_TYPE_NUM
+}_recorder_event_e;
+
+typedef enum {
+ _RECORDER_TYPE_AUDIO= 0,
+ _RECORDER_TYPE_VIDEO
+}_recorder_type_e;
+
+typedef struct _recorder_s{
+ MMHandleType mm_handle;
+ camera_h camera;
+ void* user_cb[_RECORDER_EVENT_TYPE_NUM];
+ void* user_data[_RECORDER_EVENT_TYPE_NUM];
+ int state;
+ _recorder_type_e type;
+ int origin_preview_format;
+ int changed_preview_format;
+ double last_max_input_level;
+} recorder_s;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //__TIZEN_MULTIMEDIA_RECORDER_PRIVATE_H__
+
+