Tizen 2.0 Release
[framework/osp/media.git] / inc / FMediaAudioRecorderTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file                        FMediaAudioRecorderTypes.h
20  * @brief                       This is the header file for the %AudioRecordingFormat enumeration.
21  *
22  * This header file contains the descriptions for the %AudioRecordingFormat enumeration.
23  */
24
25 #ifndef _FMEDIA_AUDIO_RECORDER_TYPES_H_
26 #define _FMEDIA_AUDIO_RECORDER_TYPES_H_
27
28 #include <FMediaRecorderTypes.h>
29
30 namespace Tizen { namespace Media
31 {
32
33 // The default audio recording time - 60 seconds
34 #define DEFAULT_AUDIORECORDING_TIME (60 * 1000)
35
36 // The default audio recording size - 300 kb
37 #define DEFAULT_AUDIORECORDING_SIZE (300 * 1024)
38
39 /**
40  * @if OSPDEPREC
41  * @enum AudioRecordingFormat
42  *
43  * Defines the formats for audio recording.
44  *
45  * @brief <i> [Deprecated]  </i>
46  * @deprecated  This enum is deprecated because new methods do not use it. @n
47  * Instead of using this enum, use ::MediaContainerType.
48  *
49  * @since               2.0
50  *
51  * @see         AudioRecorder::SetFormat(), AudioRecorder::GetFormat()
52  * @endif
53  */
54 enum AudioRecordingFormat
55 {
56         AUDIORECORDING_FORMAT_DEFAULT,              /**< @if OSPDEPREC The default format @endif */
57         AUDIORECORDING_FORMAT_AMR,                  /**< @if OSPDEPREC The AMR format  @endif */
58         AUDIORECORDING_FORMAT_WAVE,                 /**< @if OSPDEPREC The WAVE format @endif */
59 };
60
61 }}//Tizen::Media
62
63 #endif