Change set_stream_info API name for consistency with other pkgs
[platform/core/api/audio-io.git] / include / audio_io.h
index 7dde09f..ef82ef6 100644 (file)
@@ -210,7 +210,7 @@ typedef void (*audio_in_state_changed_cb)(audio_in_h handle, audio_io_state_e pr
  * @retval #AUDIO_IO_ERROR_NOT_SUPPORTED Not supported
  *
  * @post The state will be #AUDIO_IO_STATE_IDLE.\n
- *       audio_in_set_stream_info() is recommended to be called after this API.
+ *       audio_in_set_sound_stream_info() is recommended to be called after this API.
  * @see audio_in_destroy()
  */
 int audio_in_create(int sample_rate, audio_channel_e channel, audio_sample_type_e type, audio_in_h *input);
@@ -287,6 +287,9 @@ int audio_in_destroy(audio_in_h input);
  * @see sound_manager_create_stream_information()
  * @see sound_manager_destroy_stream_information()
  */
+int audio_in_set_sound_stream_info(audio_in_h input, sound_stream_info_h stream_info);
+
+/* Note : Will be removed after migration to audio_in_set_sound_stream_info */
 int audio_in_set_stream_info(audio_in_h input, sound_stream_info_h stream_info);
 
 /**
@@ -723,7 +726,7 @@ int audio_out_create(int sample_rate, audio_channel_e channel, audio_sample_type
  * @since_tizen 3.0
  *
  * @remarks @a output must be released by audio_out_destroy().
- *          It is recommended to call audio_out_set_stream_info() after this API.
+ *          It is recommended to call audio_out_set_sound_stream_info() after this API.
  *
  * @param[in] sample_rate The audio sample rate in 8000[Hz] ~ 48000[Hz]
  * @param[in] channel The audio channel type (mono or stereo)
@@ -738,7 +741,7 @@ int audio_out_create(int sample_rate, audio_channel_e channel, audio_sample_type
  * @retval #AUDIO_IO_ERROR_SOUND_POLICY Sound policy error
  *
  * @post The state will be #AUDIO_IO_STATE_IDLE.\n
- *       audio_out_set_stream_info() is recommended to be called after this API.
+ *       audio_out_set_sound_stream_info() is recommended to be called after this API.
  * @see audio_out_destroy()
  */
 int audio_out_create_new(int sample_rate, audio_channel_e channel, audio_sample_type_e type, audio_out_h *output);
@@ -785,6 +788,9 @@ int audio_out_destroy(audio_out_h output);
  * @see sound_manager_create_stream_information()
  * @see sound_manager_destroy_stream_information()
  */
+int audio_out_set_sound_stream_info(audio_out_h output, sound_stream_info_h stream_info);
+
+/* Note : Will be removed after migration to audio_out_set_sound_stream_info */
 int audio_out_set_stream_info(audio_out_h output, sound_stream_info_h stream_info);
 
 /**