Fix build error 89/294489/2 accepted/tizen/unified/20230621.023248
authorJaechul Lee <jcsing.lee@samsung.com>
Tue, 20 Jun 2023 06:27:38 +0000 (15:27 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Tue, 20 Jun 2023 06:37:10 +0000 (15:37 +0900)
[Version] 0.7.6
[Issue Type] Build error

Change-Id: If865cdfe5f26b77d124c7db49c5da919f12e176a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
include/sound_manager_internal_tv.h
packaging/capi-media-sound-manager.spec

index bc9e4274ab587f537640f40199caa723a5f6f6be..a2f2a50f90953cb07a16390403bde83d3f9c5175 100644 (file)
@@ -143,6 +143,26 @@ typedef enum {
  */
 #define SOUND_MANAGER_STREAM_NO_REFERENCE_DEVICE    0
 
+/**
+ * @internal
+ * @brief Enumeration for noise-suppression scenarios
+ * @since_tizen 8.0
+ */
+typedef enum {
+       SOUND_ACOUSTIC_ECHO_CANCEL_VOICE_CALL,
+       SOUND_ACOUSTIC_ECHO_CANCEL_REFERENCE_COPY,
+} sound_acoustic_echo_cancel_type_e;
+
+/**
+ * @internal
+ * @brief Enumeration for noise-suppression scenarios
+ * @since_tizen 8.0
+ */
+typedef enum {
+       SOUND_NOISE_SUPPRESSION_VOICE_CALL,
+       SOUND_NOISE_SUPPRESSION_VOICE_RECOGNITION,
+} sound_noise_suppression_type_e;
+
 /**
  * @internal
  * @brief Sets the mute specified for a particular sound type.
@@ -1162,6 +1182,7 @@ int sound_manager_stop_discover_remote_device(void);
  *     If @a device is not supported by @a stream_info, #SOUND_MANAGER_ERROR_POLICY will be returned.
  * @param[in]  stream_info     The handle of stream information
  * @param[in]  device  The reference device of echo-cancellation
+ * @param[in]  type The types of acoustic echo cancellation
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #SOUND_MANAGER_ERROR_NONE Success
@@ -1173,7 +1194,7 @@ int sound_manager_stop_discover_remote_device(void);
  * @see sound_manager_get_next_device()
  * @see sound_manager_free_device_list()
  */
-int sound_manager_set_echo_cancel_reference_device(sound_stream_info_h stream_info, sound_device_h device);
+int sound_manager_set_echo_cancel_reference_device(sound_stream_info_h stream_info, sound_device_h device, sound_acoustic_echo_cancel_type_e type);
 
 /**
  * @internal
@@ -1185,6 +1206,7 @@ int sound_manager_set_echo_cancel_reference_device(sound_stream_info_h stream_in
  *     sound_manager_get_next_device() and sound_manager_get_device_id().
  * @param[in]  stream_info     The handle of stream information
  * @param[out] device_id       The reference device id of echo-cancellation
+ * @param[in]  type            The types of acoustic echo cancellation
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #SOUND_MANAGER_ERROR_NONE Success
@@ -1194,13 +1216,14 @@ int sound_manager_set_echo_cancel_reference_device(sound_stream_info_h stream_in
  * @see sound_manager_get_next_device()
  * @see sound_manager_free_device_list()
  */
-int sound_manager_get_echo_cancel_reference_device(sound_stream_info_h stream_info, int *device_id);
+int sound_manager_get_echo_cancel_reference_device(sound_stream_info_h stream_info, int *device_id, sound_acoustic_echo_cancel_type_e *type);
 
 /**
  * @internal
  * @brief Sets noise suppression status
  * @since_tizen 7.5
  * @param[in]  stream_info     The handle of stream information
+ * @param[in]  type The type of noise suppression
  * @param[in]  enable  The 'noise_suppression' property value to set: (@c true = enable, @c false = disable)
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -1209,7 +1232,7 @@ int sound_manager_get_echo_cancel_reference_device(sound_stream_info_h stream_in
  * @see sound_manager_create_stream_information()
  * @see sound_manager_get_noise_suppression()
  */
-int sound_manager_set_noise_suppression(sound_stream_info_h stream_info, bool enable);
+int sound_manager_set_noise_suppression(sound_stream_info_h stream_info, bool enable, sound_noise_suppression_type_e type);
 
 /**
  * @internal
@@ -1217,6 +1240,7 @@ int sound_manager_set_noise_suppression(sound_stream_info_h stream_info, bool en
  * @since_tizen 7.5
  * @param[in]  stream_info     The handle of stream information
  * @param[out] enabled The 'noise_suppression' property value : (@c true = enable, @c false = disable)
+ * @param[out] type The type of the noise_suppression scenario
  * @return @c 0 on success,
  *         otherwise a negative error value
  * @retval #SOUND_MANAGER_ERROR_NONE Success
@@ -1224,7 +1248,7 @@ int sound_manager_set_noise_suppression(sound_stream_info_h stream_info, bool en
  * @see sound_manager_create_stream_information()
  * @see sound_manager_set_noise_suppression()
  */
-int sound_manager_get_noise_suppression(sound_stream_info_h stream_info, bool *enabled);
+int sound_manager_get_noise_suppression(sound_stream_info_h stream_info, bool *enabled, sound_noise_suppression_type_e *type);
 
 /**
  * @internal
index e4d7eec2be5befce023d89c20285de48202cb47a..fb1837da9de8296ea669ee772969f75542cd8a5a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-sound-manager
 Summary:    Sound Manager library
-Version:    0.7.5
+Version:    0.7.6
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0