From: Doohwan Kim Date: Wed, 21 Jan 2015 05:40:27 +0000 (+0900) Subject: audio-io : add doxygen history and modify error enum X-Git-Tag: submit/tizen/20150122.071700^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b5dea6b92d643e6e59ca2cb8887010f90c79d83;p=platform%2Fcore%2Fapi%2Faudio-io.git audio-io : add doxygen history and modify error enum Signed-off-by: Doohwan Kim Change-Id: I24cf33fa0292cf7dd5eaf010613cde722edf818d --- diff --git a/include/audio_io.h b/include/audio_io.h old mode 100755 new mode 100644 index fbe5151..0b237cf --- a/include/audio_io.h +++ b/include/audio_io.h @@ -19,17 +19,16 @@ #include #include +#include #ifdef __cplusplus extern "C" { #endif -#define AUDIO_IO_ERROR_CLASS TIZEN_ERROR_MULTIMEDIA_CLASS | 0x40 - /** * @file audio_io.h - * @brief This file contains the Audio Input and Output API. + * @brief This file contains the Audio Input and Audio Output API. */ /** @@ -38,7 +37,8 @@ extern "C" */ /** - * @brief Audio input handle type. + * @brief The audio input handle. + * @since_tizen 2.3 */ typedef struct audio_in_s *audio_in_h; @@ -52,7 +52,8 @@ typedef struct audio_in_s *audio_in_h; */ /** - * @brief Audio output handle type. + * @brief The audio output handle. + * @since_tizen 2.3 */ typedef struct audio_out_s *audio_out_h; @@ -66,39 +67,44 @@ typedef struct audio_out_s *audio_out_h; */ /** - * @brief Enumerations of audio sample type with bit depth + * @brief Enumeration for audio sample type with bit depth. + * @since_tizen 2.3 */ typedef enum { - AUDIO_SAMPLE_TYPE_U8 = 0x70, /**< Unsigned 8-bit audio samples */ - AUDIO_SAMPLE_TYPE_S16_LE, /**< Signed 16-bit audio samples */ + AUDIO_SAMPLE_TYPE_U8 = 0x70, /**< Unsigned 8-bit audio samples */ + AUDIO_SAMPLE_TYPE_S16_LE, /**< Signed 16-bit audio samples */ } audio_sample_type_e; /** - * @brief Enumerations of audio channel + * @brief Enumeration for audio channel. + * @since_tizen 2.3 */ typedef enum { - AUDIO_CHANNEL_MONO = 0x80, /**< 1 channel, mono */ - AUDIO_CHANNEL_STEREO, /**< 2 channel, stereo */ + AUDIO_CHANNEL_MONO = 0x80, /**< 1 channel, mono */ + AUDIO_CHANNEL_STEREO, /**< 2 channel, stereo */ } audio_channel_e; /** - * @brief Enumerations of audio input and output error code + * @brief Enumeration for audio input and output error. + * @since_tizen 2.3 */ typedef enum{ - AUDIO_IO_ERROR_NONE = TIZEN_ERROR_NONE, /**