2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @file FMediaAudioRecorderTypes.h
20 * @brief This is the header file for the %AudioRecordingFormat enumeration.
22 * This header file contains the descriptions for the %AudioRecordingFormat enumeration.
25 #ifndef _FMEDIA_AUDIO_RECORDER_TYPES_H_
26 #define _FMEDIA_AUDIO_RECORDER_TYPES_H_
28 #include <FMediaRecorderTypes.h>
30 namespace Tizen { namespace Media
33 // The default audio recording time - 60 seconds
34 #define DEFAULT_AUDIORECORDING_TIME (60 * 1000)
36 // The default audio recording size - 300 kb
37 #define DEFAULT_AUDIORECORDING_SIZE (300 * 1024)
41 * @enum AudioRecordingFormat
43 * Defines the formats for audio recording.
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.
51 * @see AudioRecorder::SetFormat(), AudioRecorder::GetFormat()
54 enum AudioRecordingFormat
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 */