/**
* @brief Enumeration for sound manager's error codes.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
SOUND_MANAGER_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
/**
* @brief Enumeration for sound type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
SOUND_TYPE_SYSTEM, /**< Sound type for system */
SOUND_TYPE_NOTIFICATION, /**< Sound type for notifications */
SOUND_TYPE_ALARM, /**< Sound type for alarm */
- SOUND_TYPE_RINGTONE, /**< Sound type for ringtones (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
+ SOUND_TYPE_RINGTONE, /**< Sound type for ringtones (Since 2.4) */
SOUND_TYPE_MEDIA, /**< Sound type for media */
- SOUND_TYPE_CALL, /**< Sound type for call (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
- SOUND_TYPE_VOIP, /**< Sound type for voip (Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
+ SOUND_TYPE_CALL, /**< Sound type for call (Since 2.4) */
+ SOUND_TYPE_VOIP, /**< Sound type for voip (Since 2.4) */
SOUND_TYPE_VOICE, /**< Sound type for voice */
} sound_type_e;
/**
* @brief Sound device handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void* sound_device_h;
/**
* @brief Sound device list handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void* sound_device_list_h;
/**
* @brief Enumeration for sound device type.
-* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+* @since_tizen 2.3
*/
typedef enum {
SOUND_DEVICE_BUILTIN_SPEAKER, /**< Built-in speaker */
/**
* @brief Enumeration for sound device direction.
-* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+* @since_tizen 2.3
*/
typedef enum {
SOUND_DEVICE_IO_DIRECTION_IN, /**< Input device */
/**
* @brief Enumeration for sound device mask.
-* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+* @since_tizen 2.3
*/
typedef enum {
SOUND_DEVICE_IO_DIRECTION_IN_MASK = 0x0001, /**< Mask for input devices */
/**
* @brief Called when the system volume has changed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] type The sound type of the changed volume
* @param[in] volume The new volume value
* @param[in] user_data The user data passed from the callback registration function
/**
* @brief Gets the maximum volume level supported for a particular sound type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] type The sound type
* @param[out] max The maximum volume level
* @return @c 0 on success,
/**
* @brief Sets the volume level specified for a particular sound type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @privlevel public
* @privilege %http://tizen.org/privilege/volume.set
* @param[in] type The sound type
/**
* @brief Gets the volume level specified for a particular sound type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] type The sound type
* @param[out] volume The current volume level
* @return @c 0 on success,
/**
* @brief Gets the type of the sound being currently played.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[out] type The current sound type
* @return @c 0 on success,
* otherwise a negative error value
/**
* @brief Gets the next item of the device list.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device_list The list of connected devices
* @param[out] device The device item
* @return @c 0 on success,
/**
* @brief Gets the previous item of the device list.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device_list The list of connected devices
* @param[out] device The device item
* @return @c 0 on success,
/**
* @brief Gets the type of the device.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device The device item
* @param[out] type The type of the device
* @return @c 0 on success,
/**
* @brief Gets the io direction of the device.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device The device item
* @param[out] io_direction The io direction of the device
* @return @c 0 on success,
/**
* @brief Gets the id of the device.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device The device item
* @param[out] id The id of the device
* @return @c 0 on success,
/**
* @brief Gets the name of the device.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] device The device item
* @param[out] name The name of the device
* @return @c 0 on success,