platform/core/api/sound-manager.git
4 months agoUpdate @since_tizen doxygen tag due to profile merge 15/302315/1 accepted/tizen_unified accepted/tizen_unified_riscv tizen accepted/tizen/unified/20231211.171506 accepted/tizen/unified/riscv/20231226.211051
Seungbae Shin [Tue, 5 Dec 2023 08:20:29 +0000 (17:20 +0900)]
Update @since_tizen doxygen tag due to profile merge

[Version] 0.7.11
[Issue Type] Doxygen

Change-Id: I3d7c45c5c40475d158929542e4b37d129f195090

9 months agoRemove unused internal AEC/NS API 24/296224/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.092849 accepted/tizen/unified/20230727.173029 accepted/tizen/unified/riscv/20231211.043613 tizen_8.0_m2_release
Jaechul Lee [Mon, 24 Jul 2023 05:37:35 +0000 (14:37 +0900)]
Remove unused internal AEC/NS API

[Version] 0.7.10
[Issue Type] Update

Change-Id: Icef5f87b24f3f2c043942d240bccb52bb1e4d801
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
9 months agoAdd new public APIs to set effect method 52/295252/21 accepted/tizen/unified/20230719.170106
Jaechul Lee [Tue, 4 Jul 2023 07:50:18 +0000 (16:50 +0900)]
Add new public APIs to set effect method

Preprocesing functionality was added.
There were two pair of functions for supporting audio effects such as
noise-suppression and acoustic echo cancellation.

 - sound_manager_set_effect_method_with_reference
 - sound_manager_get_effect_method_with_reference
 - sound_manager_set_effect_method
 - sound_manager_get_effect_method

[Version] 0.7.9
[Issue Type] Public API

Change-Id: I28026a39615fed8790f1f2b3f3e062d417c56750
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agosound_manager_test: use static for global variables 10/294510/1 accepted/tizen_unified_dev accepted/tizen/unified/20230627.025432 accepted/tizen/unified/dev/20230726.115812
Seungbae Shin [Tue, 20 Jun 2023 09:17:41 +0000 (18:17 +0900)]
sound_manager_test: use static for global variables

[Version] 0.7.8
[Issue Type] SAM

Change-Id: I97bbfe3ce8930eb37ad99374145c1ebbea6a118d

10 months agoApply patch instead of copy in case of TV product build 00/294500/3
Seungbae Shin [Tue, 20 Jun 2023 08:15:44 +0000 (17:15 +0900)]
Apply patch instead of copy in case of TV product build

[Version] 0.7.7
[Issue Type] Build

Change-Id: I092e7fbffb7e3d9a87b43587d438e9d8852303ef

10 months agoFix build error 89/294489/2 accepted/tizen/unified/20230621.023248
Jaechul Lee [Tue, 20 Jun 2023 06:27:38 +0000 (15:27 +0900)]
Fix build error

[Version] 0.7.6
[Issue Type] Build error

Change-Id: If865cdfe5f26b77d124c7db49c5da919f12e176a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoModify noise-suppression API arguments 00/292800/4 accepted/tizen/unified/20230620.022507
Jaechul Lee [Mon, 15 May 2023 05:04:28 +0000 (14:04 +0900)]
Modify noise-suppression API arguments

sound_noise_suppression_type was added to noise suppression API.
This parameter will select noise-suppression algorithm.

[Version] 0.7.4
[Issue Type] New Feature

Change-Id: Ib3cdc1b2a28adbf49fad129e9813c5b7fe3728a6
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
13 months agoExclude gcno of internal code in gcov package 04/288904/1 accepted/tizen/unified/20230227.152736
Seungbae Shin [Fri, 24 Feb 2023 08:02:46 +0000 (17:02 +0900)]
Exclude gcno of internal code in gcov package

[Version] 0.7.4
[Issue Type] Gcov

Change-Id: Id045786d1b4e91d5febb8a8ae0eae26b7917f042

14 months agoAdd noise-suppression APIs 95/287995/6 accepted/tizen/unified/20230215.155627
Jaechul Lee [Thu, 9 Feb 2023 01:26:58 +0000 (10:26 +0900)]
Add noise-suppression APIs

Turning on/off noise suppression APIs are added.

[Version] 0.7.3
[Issue Type] New Feature

Change-Id: I1917eb4afb541552252e7ec78a33f0475ccffc8a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
15 months agofixup! Add internal API to query current media playback device id 42/286242/2 accepted/tizen/unified/20230105.154708
Seungbae Shin [Mon, 2 Jan 2023 10:45:42 +0000 (19:45 +0900)]
fixup! Add internal API to query current media playback device id

also sync some other missing descriptions

Change-Id: Iffc99614d3d44eb8a57931c1a6e5b1f6ca01c21f

15 months agoAdd internal API to query current media playback device id 19/286119/2
Seungbae Shin [Wed, 28 Dec 2022 08:01:18 +0000 (17:01 +0900)]
Add internal API to query current media playback device id

int sound_manager_get_current_media_playback_device_id(int *device_id)

[Version] 0.7.2
[Issue Type] Internal API

Change-Id: I8cbb1e7829da66d59b5fdd1f53bc4084f75f4be9

18 months agoAdd internal APIs to query additional device information 17/282617/7 accepted/tizen/unified/20221102.020518
Seungbae Shin [Thu, 6 Oct 2022 11:46:37 +0000 (20:46 +0900)]
Add internal APIs to query additional device information

- sound_manager_get_device_sample_format()
- sound_manager_get_device_sample_rate()
- sound_manager_get_device_channels()

In addition, CMake warning related to minimum required version is also fixed.

[Version] 0.7.1
[Issue Type] Internal API

Change-Id: I489225ec19e56a2882a4eb514e1b67583f84f04e

19 months agoRemove deprecated symbols 76/281276/2 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.104835 accepted/tizen/unified/20220929.080313 tizen_7.0_m2_release
Sangchul Lee [Thu, 15 Sep 2022 06:05:16 +0000 (15:05 +0900)]
Remove deprecated symbols

Removed symbols that have been deprecated since 4.0 are as below.
 - sound_device_state_e (SOUND_DEVICE_STATE_DEACTIVATED, SOUND_DEVICE_STATE_ACTIVATED)
 - SOUND_DEVICE_STATE_DEACTIVATED_MASK
 - SOUND_DEVICE_STATE_ACTIVATED_MASK
 - sound_manager_get_device_state()
 - sound_manager_add_device_state_changed_cb()
 - sound_manager_remove_device_state_changed_cb()

[Version] 0.7.0
[Issue Type] API removal

Change-Id: I53d067b6ce391f7a46e6940c2c019fe5b3775ca0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
19 months agoAdd internal enum for deprecated symbols 65/281665/1 accepted/tizen/unified/20220922.062124 accepted/tizen/unified/20220922.062746
Sangchul Lee [Tue, 20 Sep 2022 10:01:44 +0000 (19:01 +0900)]
Add internal enum for deprecated symbols

Below enums are added to be used instead of SOUND_DEVICE_STATE_ACTIVATED_MASK and
SOUND_DEVICE_STATE_DEACTIVATED_MASK for inhouse user
 : SOUND_DEVICE_STATE_DEPRECATED_ACTIVATED_MASK
 : SOUND_DEVICE_STATE_DEPRECATED_DEACTIVATED_MASK

[Version] 0.6.51
[Issue Type] Internal API

Change-Id: I861c0a829f5a2bccf1900e3a3a2fe0dea7b591e3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
22 months agosound_manager_test: Remove symbols deprecated Since tizen 4.0 42/275942/1 accepted/tizen/unified/20220620.030226 submit/tizen/20220608.074213 submit/tizen/20220616.080711
Sangchul Lee [Tue, 7 Jun 2022 03:45:43 +0000 (12:45 +0900)]
sound_manager_test: Remove symbols deprecated Since tizen 4.0

These are related to API below.
 - sound_manager_get_device_state()
 - sound_manager_add_device_state_changed_cb()
 - sound_manager_remove_device_state_changed_cb()

It is also fixed to return without any operation for those functions.

[Version] 0.6.50
[Issue Type] Clean-up

Change-Id: I3a6358827cb3fec19aab820ab03193bdaa6dbdac
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agospec: Change gcov object installation 31/275431/1 accepted/tizen/unified/20220526.143637 submit/tizen/20220525.104428
Sangchul Lee [Wed, 25 May 2022 01:35:45 +0000 (10:35 +0900)]
spec: Change gcov object installation

[Version] 0.6.49
[Issue Type] Gcov

Change-Id: I547820f3de9c8230277ed7e1a37dbdb41cfc4f42
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agosound_manager_private: Fix policy to set echo cancellation reference device 70/275270/2
Sangchul Lee [Thu, 19 May 2022 06:11:33 +0000 (15:11 +0900)]
sound_manager_private: Fix policy to set echo cancellation reference device

Previously, to set the reference device, it has to be one of avail-out-
devices of the stream info. But considering that this stream info handle
is for a capture API(for example, audio-io, recorder and so on), this
restriction should be removed. Rather, the reference device could be any
of playback devices. It is fixed now.

It is also added to return policy error when the stream info handle is
only for the playback stream.

[Version] 0.6.48
[Issue Type] Bug fix

Change-Id: I3c160f679731865b5d1c2e6a711b1956b8e44146
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agofixup! sound_manager_internal: Revise echo-cancellation API set 52/273952/1 accepted/tizen/unified/20220420.135457 accepted/tizen/unified/20220421.065419 submit/tizen/20220419.020933 submit/tizen/20220420.020006
Jaechul Lee [Tue, 19 Apr 2022 02:06:34 +0000 (11:06 +0900)]
fixup! sound_manager_internal: Revise echo-cancellation API set

[Version] 0.6.47
[Issue Type] Build

Change-Id: I35559e95d8e9853d9bdab17ff9da648e9926f86e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agosound_manager_internal: Revise echo-cancellation API set 18/273418/5 accepted/tizen/unified/20220418.141248 submit/tizen/20220415.044607 submit/tizen/20220415.050245
Sangchul Lee [Tue, 5 Apr 2022 08:35:02 +0000 (17:35 +0900)]
sound_manager_internal: Revise echo-cancellation API set

sound_manager_get_echo_cancel_reference_device()
 - The second parameter is replaced to int* variable of device id.
   Because the device handle's lifecycle belongs to the device list.
 - It is changed not to occur error even if the setter function has
   not been called. Rather, SOUND_MANAGER_STREAM_NO_REFERENCE_DEVICE
   is newly added that will be returned to the out-parameter.

sound_manager_set_echo_cancel_reference_device()
 - SOUND_MANAGER_ERROR_POLICY error is added to notify the situation
   that the reference device handle is not supported by the stream info.

Logs for API result are added.
Missing null check is added.
Doxygen is improved.

[Version] 0.6.46
[Issue Type] Internal API

Change-Id: I04b935cb901fa3a5cbc1f47731496d051ee68a85
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agosound_manager_internal: Fix documentation 85/273385/3
Sangchul Lee [Tue, 5 Apr 2022 07:09:39 +0000 (16:09 +0900)]
sound_manager_internal: Fix documentation

Unused @remarks are removed.
Add missing parameter variables.
Add missing @internal commands.
Revise @brief of sound_manager_set_echo_cancel_reference_device()

[Version] 0.6.45
[Issue Type] Doxygen

Change-Id: I62466c34be8ddef224a3f62b74c04adfa3e528af
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd host volume set/get internal api 00/273100/8
Seungbae Shin [Wed, 30 Mar 2022 11:48:44 +0000 (20:48 +0900)]
Add host volume set/get internal api

these APIs can be used for container environment

[Version] 0.6.44
[Issue Type] Internal API

Change-Id: Idfd85201fa44ed0bc41a3320ad6bfade47ebfa2d

2 years agoAdd echo-cancellation APIs 95/272595/5 submit/tizen/20220405.045611
Jaechul Lee [Mon, 21 Mar 2022 08:31:42 +0000 (17:31 +0900)]
Add echo-cancellation APIs

Echo-cancellation is enabled by setting a reference device.

[Version] 0.6.43
[Issue Type] New Feature

Change-Id: I32e6592e426c83c772ca4fd7e40f69febc6228f7
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoRevert "Add Acoustic Echo Cancellation internal api" 94/272594/2
Jaechul Lee [Mon, 21 Mar 2022 08:16:29 +0000 (17:16 +0900)]
Revert "Add Acoustic Echo Cancellation internal api"

This reverts commit 684c7638943606e2c4709fbbde6c47416ab63388.

[Version] 0.6.42
[Issue Type] Revert

Change-Id: I754a488d932cdff97959fbbfee0312a08fbc4b46

2 years agoChange gcov object install path 99/269699/1 accepted/tizen/unified/20220124.020153 submit/tizen/20220121.013327
Sangchul Lee [Thu, 20 Jan 2022 04:57:21 +0000 (13:57 +0900)]
Change gcov object install path

[Version] 0.6.41
[Issue Type] Gcov

Change-Id: I8cbef40dbdd6e4f7bb057b96bc6f959a7ce62a95
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd missing description for stream ducking API 67/266967/3 accepted/tizen/unified/20211125.144645 submit/tizen/20211124.054213
Sangchul Lee [Tue, 23 Nov 2021 07:08:08 +0000 (16:08 +0900)]
Add missing description for stream ducking API

Missing @retval for SOUND_MANAGER_ERROR_INVALID_STATE is added.
More @post and @pre description are added.

[Version] 0.6.40
[Issue Type] Doxygen

Change-Id: I93a8513556211445e16000a6b31a7dce5f15bb8b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoSkip locking focus_state mutex if sound_manager_get_focus_state() is called in focus... 30/266030/1 accepted/tizen/unified/20211109.042859 submit/tizen/20211108.065142 submit/tizen/20211108.233216
Sangchul Lee [Thu, 4 Nov 2021 06:50:55 +0000 (15:50 +0900)]
Skip locking focus_state mutex if sound_manager_get_focus_state() is called in focus callback

During destroying handle, it is possible that the focus state callback is
called simultaneously. The destroy function already lock the mutex also,
deadlock can occur if user calls the sound_manager_get_focus_state() function
inside of the focus state callback context. It is now fixed with this patch.

[Version] 0.6.39
[Issue Type] Improvement

Change-Id: I092d127fb8e29dc5fea0056d3b4f1da101130f3d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoSkip waiting of disconnection for the invalid stream when stopping the virtual stream 43/265843/2 accepted/tizen/unified/20211102.024829 submit/tizen/20211101.022230
Seungbae Shin [Fri, 29 Oct 2021 11:44:03 +0000 (20:44 +0900)]
Skip waiting of disconnection for the invalid stream when stopping the virtual stream

[Version] 0.6.38
[Issue Type] Bug fix

Change-Id: I84a5a2d1f4896f4d22346818687944d27fb2990e

2 years agofixup! Add internal api for rpi playback route 35/261135/1 accepted/tizen/6.5/unified/20211028.094739 accepted/tizen/unified/20210713.124110 submit/tizen/20210712.092233 submit/tizen_6.5/20211028.161801 tizen_6.5.m2_release
Seungbae Shin [Mon, 12 Jul 2021 09:14:53 +0000 (18:14 +0900)]
fixup! Add internal api for rpi playback route

[Version] 0.6.37
[Issue Type] Fixup

Change-Id: I5d1dffdb5f868132b8d3f485878e22e0da765e31

2 years agoAdd internal api for rpi playback route 34/259034/7 accepted/tizen/unified/20210708.131541 submit/tizen/20210705.072009 submit/tizen/20210707.025110
Seungbae Shin [Mon, 31 May 2021 07:17:16 +0000 (16:17 +0900)]
Add internal api for rpi playback route

[Version] 0.6.36
[Issue Type] Internal feature

Change-Id: I6b820b5510bb01ef8d71e959c2cf12ac23f9b313

2 years agofixup! sound_manager_internal: Add support for native WebRTC API 36/260736/1 submit/tizen/20210702.032436
Sangchul Lee [Fri, 2 Jul 2021 03:08:21 +0000 (12:08 +0900)]
fixup! sound_manager_internal: Add support for native WebRTC API

Change-Id: I3a66146f5aeeaafbeb089032189facfc03046652
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agosound_manager_internal: Add support for native WebRTC API 16/260716/2
Sangchul Lee [Thu, 1 Jul 2021 12:05:46 +0000 (21:05 +0900)]
sound_manager_internal: Add support for native WebRTC API

[Version] 0.6.35
[Issue Type] New feature

Change-Id: I2b74bac354040353ce1b701d4b3aa5d253fe8bb0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoExclude remote and aec private functions from coverage result 38/258538/1 accepted/tizen/unified/20210624.131846 submit/tizen/20210623.034843
Seungbae Shin [Thu, 20 May 2021 04:45:10 +0000 (13:45 +0900)]
Exclude remote and aec private functions from coverage result

[Version] 0.6.34
[Issue Type] Coverage

Change-Id: I1c30d3e205199e1936dd62f691dabe178b42b725

3 years agoAdd Acoustic Echo Cancellation internal api 38/257138/7 accepted/tizen/unified/20210426.002339 submit/tizen/20210423.055047 submit/tizen/20210423.064540
Jaechul Lee [Wed, 17 Mar 2021 05:46:34 +0000 (14:46 +0900)]
Add Acoustic Echo Cancellation internal api

[Version] 0.6.33
[Issue Type] New feature

Change-Id: I7525a88b8253c2487d843d21d9fdcb428a93bec0
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
3 years agoAdjust dbus method timeout from 2s to 5s 60/254560/1 accepted/tizen/unified/20210323.122733 submit/tizen/20210322.084139
Seungbae Shin [Thu, 4 Mar 2021 11:17:25 +0000 (20:17 +0900)]
Adjust dbus method timeout from 2s to 5s

some product model needs more time for dbus handler to be invoked.

[Version] 0.6.32
[Issue Type] Tunning

Change-Id: I30d58824e10a49393cd537ff29ce1955ac6270dd

3 years agoRemove unnecessary log in ducking state changed callback 88/249588/1 accepted/tizen/unified/20201216.215926 submit/tizen/20201216.021959
Jeongmo Yang [Tue, 15 Dec 2020 07:32:58 +0000 (16:32 +0900)]
Remove unnecessary log in ducking state changed callback

[Version] 0.6.31
[Issue Type] Revise

Change-Id: Icb5d8de5de1bf8ece0f756401a22017772e050e4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoFix memory leaks caused by unhandling result of dbus method call 41/246341/1 accepted/tizen/unified/20201102.124418 submit/tizen/20201029.032905
Seungbae Shin [Wed, 28 Oct 2020 10:33:05 +0000 (19:33 +0900)]
Fix memory leaks caused by unhandling result of dbus method call

[Version] 0.6.30
[Issue Type] Bug

Change-Id: I6a22ed4ceb6e8ad5f287579b9e6ada6605147125

3 years agoRevise testsuite log prints and fix glib assertion related to g_variant_unref() 28/245928/2 accepted/tizen/unified/20201029.124853 submit/tizen/20201028.023739
Seungbae Shin [Tue, 20 Oct 2020 04:03:04 +0000 (13:03 +0900)]
Revise testsuite log prints and fix glib assertion related to g_variant_unref()

[Version] 0.6.29
[Issue Type] Revise

Change-Id: I7cfec3533c51eade741c7f95138b66b56a1a05ed

3 years agofixup! add publish and allow remote access internal api 38/241338/4 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121651 accepted/tizen/6.0/unified/hotfix/20201103.003926 accepted/tizen/6.0/unified/hotfix/20201103.050817 accepted/tizen/unified/20200820.034809 submit/tizen/20200819.100640 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
Jaechul Lee [Wed, 19 Aug 2020 09:05:30 +0000 (18:05 +0900)]
fixup! add publish and allow remote access internal api

[Version] 0.6.28
[Issue Type] Bug

Change-Id: Iee298861f07c7222fae8ed72a223678c697ecfdc
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
3 years agoadd publish and allow remote access internal api 66/239166/25 accepted/tizen/unified/20200819.100412 submit/tizen/20200818.081651 submit/tizen/20200819.045110
Jaechul Lee [Wed, 22 Jul 2020 08:18:31 +0000 (17:18 +0900)]
add publish and allow remote access internal api

[Version] 0.6.27
[Issue Type] Improvement

Change-Id: I715ffd51c837e01bd01dccd74936a6caa9425763
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
3 years agoRemove assert() 53/238153/2 accepted/tizen/unified/20200710.114037 submit/tizen/20200709.084332
Sangchul Lee [Thu, 9 Jul 2020 04:19:28 +0000 (13:19 +0900)]
Remove assert()

These are replaced with SM_ARG_CHECK() macro if possible.

[Version] 0.6.26
[Issue Type] Improvement

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Change-Id: I0d8f452dff3260264bd56d4482a4dde8247f0fb2

3 years agoRevise logs in sound_manager_private.c 52/238152/2
Sangchul Lee [Thu, 9 Jul 2020 03:48:15 +0000 (12:48 +0900)]
Revise logs in sound_manager_private.c

Add logs for the result of out parameter of private functions().
Redundant codes are removed.
The parameter name of _convert_device_io_direction() is changed.

[Version] 0.6.25
[Issue Type] Log

Change-Id: I0b1a6920d2c2d5d85e15c0ae218e38b2ea3defcd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRevise logs in sound_manager_internal.c 63/238063/2 submit/tizen/20200709.075529
Sangchul Lee [Wed, 8 Jul 2020 05:39:02 +0000 (14:39 +0900)]
Revise logs in sound_manager_internal.c

Logs related to function arguments are added to each function.

[Version] 0.6.24
[Issue Type] Log

Change-Id: Ieddfca9848195338e22c60b1cb0dc306fe7b276a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRevise logs in sound_manager.c 58/238058/2
Sangchul Lee [Wed, 8 Jul 2020 04:38:03 +0000 (13:38 +0900)]
Revise logs in sound_manager.c

Logs related to function arguments are added to each function.

[Version] 0.6.23
[Issue Type] Log

Change-Id: I6ee7f0a939837e5da59e497ed89c385b7920bc77
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoCompare error value explicitly in sound_manager_internal.c 18/237818/2 accepted/tizen/unified/20200707.140850 submit/tizen/20200707.024535
Sangchul Lee [Mon, 6 Jul 2020 02:08:57 +0000 (11:08 +0900)]
Compare error value explicitly in sound_manager_internal.c

[Version] 0.6.22
[Issue Type] Improvement

Change-Id: Ic4ecfa6c16efc68318b0675f72765d11a9204c72
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoCompare error value explicitly in sound_manager_private.c 16/237816/2
Sangchul Lee [Mon, 6 Jul 2020 02:04:01 +0000 (11:04 +0900)]
Compare error value explicitly in sound_manager_private.c

[Version] 0.6.21
[Issue Type] Improvement

Change-Id: Ie763e1d81118bb0b75621b26accd50fb1b26bf99
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoCompare error value explicitly in sound_manager.c 11/237811/1
Sangchul Lee [Mon, 6 Jul 2020 01:43:33 +0000 (10:43 +0900)]
Compare error value explicitly in sound_manager.c

[Version] 0.6.20
[Issue Type] Improvement

Change-Id: Iaf3ffdbd9072373478884a02bceb3ce5fd52b100
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRemove useless converting error logic in filter and preemptive device APIs 10/237810/1
Sangchul Lee [Mon, 6 Jul 2020 01:16:20 +0000 (10:16 +0900)]
Remove useless converting error logic in filter and preemptive device APIs

[Version] 0.6.19
[Issue Type] Refactoring

Change-Id: I485645a4190045f3bf547aa39070272b9db5b47a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRemove useless converting error logic in ducking and virtual stream APIs 34/237234/5 accepted/tizen/unified/20200706.133950 submit/tizen/20200703.064624
Sangchul Lee [Fri, 26 Jun 2020 06:49:16 +0000 (15:49 +0900)]
Remove useless converting error logic in ducking and virtual stream APIs

[Version] 0.6.18
[Issue Type] Refactoring

Change-Id: I2acfe52ab2cdb5d38fd056d5d1c30c48337a6d8b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agofixup! Remove useless converting error logic inside of stream information/routing... 98/237298/1 accepted/tizen/unified/20200629.143428 submit/tizen/20200629.022214
Seungbae Shin [Mon, 29 Jun 2020 02:18:41 +0000 (11:18 +0900)]
fixup! Remove useless converting error logic inside of stream information/routing APIs

[Version] 0.6.17
[Issue Type] Bug fix

Change-Id: Iaa3049f7219bebd430340a8449ec04b6086e481b

3 years agofixup! fixup! Add mutex to stream_info structure for virtual stream APIs 59/237259/1 submit/tizen/20200626.085752
Seungbae Shin [Fri, 26 Jun 2020 08:50:21 +0000 (17:50 +0900)]
fixup! fixup! Add mutex to stream_info structure for virtual stream APIs

Fix of DEREF_AFTER_FREE.EX svace issue

[Version] 0.6.16
[Issue Type] Bug fix

Change-Id: I7205eac409bd1295a70e4f07bd7d69f9cf25a9ad

3 years agoRemove useless converting error logic inside of device APIs 73/237173/2
Sangchul Lee [Thu, 25 Jun 2020 12:16:29 +0000 (21:16 +0900)]
Remove useless converting error logic inside of device APIs

[Version] 0.6.15
[Issue Type] Refactoring

Change-Id: I2ea5565d6b75e88648c493e8afc6f43d39c84fa8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRemove useless converting error logic inside of stream focus APIs 58/237158/5
Sangchul Lee [Thu, 25 Jun 2020 10:52:23 +0000 (19:52 +0900)]
Remove useless converting error logic inside of stream focus APIs

[Version] 0.6.14
[Issue Type] Refactoring

Change-Id: Id3fcd0ac81400a8843999261f586c46f2ef86025
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoFix to return valid error type 41/237141/3
Sangchul Lee [Thu, 25 Jun 2020 08:41:55 +0000 (17:41 +0900)]
Fix to return valid error type

Codes returning mm-common error type are fixed.

[Version] 0.6.13
[Issue Type] Bug fix

Change-Id: Ie78b573617f46cfbeefb5bf6cdc3aa08979a8872
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRemove useless converting error logic inside of stream information/routing APIs 10/237010/4
Sangchul Lee [Wed, 24 Jun 2020 04:36:44 +0000 (13:36 +0900)]
Remove useless converting error logic inside of stream information/routing APIs

[Version] 0.6.12
[Issue Type] Refactoring

Change-Id: Iece9229a1b810292b3b98a81b8aac12df7022782
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRemove useless converting error logic inside of volume APIs 24/236924/5
Sangchul Lee [Tue, 23 Jun 2020 09:08:06 +0000 (18:08 +0900)]
Remove useless converting error logic inside of volume APIs

[Version] 0.6.11
[Issue Type] Refactoring

Change-Id: I57aa5dac85c57532a313a8a1271c9b2eaf14a633
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRevise macro for checking argument value 09/236909/6
Sangchul Lee [Tue, 23 Jun 2020 08:01:28 +0000 (17:01 +0900)]
Revise macro for checking argument value

SM_INSTANCE_CHECK() and SM_NULL_ARG_CHECK() are
unified by SM_ARG_CHECK().
Put entering log after the argument check.

[Version] 0.6.10
[Issue Type] Improvement

Change-Id: Idc51f8723cb12432b3a7571a5fce7b9e0a575631
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoUse do-while(0) statement for the macro checking argument 89/236789/1
Sangchul Lee [Mon, 22 Jun 2020 05:39:59 +0000 (14:39 +0900)]
Use do-while(0) statement for the macro checking argument

[Version] 0.6.9
[Issue Type] Improvement

Change-Id: If56b0d4839c3b7cec70f136281406bdd0cabd1d7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agofixup! Add mutex to stream_info structure for virtual stream APIs 18/235918/3 accepted/tizen/unified/20200612.022353 accepted/tizen/unified/20200618.130038 submit/tizen/20200611.091235 submit/tizen/20200617.090424 submit/tizen/20200619.022637
Jaechul Lee [Thu, 11 Jun 2020 03:40:00 +0000 (12:40 +0900)]
fixup! Add mutex to stream_info structure for virtual stream APIs

sound_manager_destroy_stream_information is not allowed to return INVALID_STATE

[Version] 0.6.8
[Issue Type] None

Change-Id: Ie7c68818bc0cee7521f79de046f7573d6e5cf85e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
3 years agoAdd mutex to stream_info structure for virtual stream APIs 54/235854/3
Jaechul Lee [Wed, 10 Jun 2020 08:34:56 +0000 (17:34 +0900)]
Add mutex to stream_info structure for virtual stream APIs

pthread_mutex is added in stream_info structure for managing a virtual
stream instance and INVAILD_STATE error is returned when
destroy_stream_information is called without destroying a virtual
stream.

[Version] 0.6.7
[Issue Type] BUG(MMFWN-4276)

Change-Id: I4ebac494e5111c2eb53745ca2036706c3ce19769
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
3 years agoRemove meaningless error converting code 86/233886/1
Sangchul Lee [Wed, 20 May 2020 05:24:32 +0000 (14:24 +0900)]
Remove meaningless error converting code

[Version] 0.6.6
[Issue Type] Code cleanup

Change-Id: I38b25758d2bbbdd1c6d1a54114641145f425fb20
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoComply with the Tizen coding rule 48/231048/2 accepted/tizen/unified/20200421.051529 submit/tizen/20200420.013518
Sangchul Lee [Fri, 17 Apr 2020 03:50:46 +0000 (12:50 +0900)]
Comply with the Tizen coding rule

[Version] 0.6.5
[Issue Type] Coding convention

Change-Id: I6e76d35b7860f1c9df53bc423a6f3aa124332dfa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agosound_manager_private: Use #define directive for timeout value 27/223727/2 accepted/tizen/unified/20200204.003852 submit/tizen/20200203.082527
Sangchul Lee [Mon, 3 Feb 2020 08:03:20 +0000 (17:03 +0900)]
sound_manager_private: Use #define directive for timeout value

Some of cases used with the value of 1000 are also revised to
use the same value of the define.

[Version] 0.6.4
[Issue Type] Revise

Change-Id: Ic0d9ea6d54575739e4c75ece20773c6fd3030059
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 7b3c55c1ab0e99d3daef9bb93b15bb66eba83ed2)

4 years agoAdd new routing API set 26/223726/2
Sangchul Lee [Fri, 31 Jan 2020 01:54:23 +0000 (10:54 +0900)]
Add new routing API set

Functions are added as below
 : sound_manager_set_stream_preemptive_device()
 : sound_manager_get_stream_preemptive_device()

This function is to set a device id to streams made by the specific stream type.
Note that it'll affect all the streams belong to the stream type regardless of
process, it should be used carefully.

[Version] 0.6.3
[Issue Type] New feature

Change-Id: I35d902f77d4adc77490b9eacee505a1a1332f882
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 40ddaaf16b5536ba2e804e33a8974ecc9414b39f)

4 years agoFix build error due to toolchain upgrade (gcc6->gcc9) 91/220791/3 accepted/tizen/unified/20191224.131822 submit/tizen/20191224.073630
Seungbae Shin [Mon, 23 Dec 2019 08:13:56 +0000 (17:13 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)

  error: '%s' directive argument is null [-Werror=format-overflow=]

[Version] 0.6.2
[Issue Type] Toolchain

Change-Id: I4706f7d338165e786877103cf96fd0073479330a

4 years agoAdd support for internal volume API set 70/219870/5
Sangchul Lee [Wed, 11 Dec 2019 00:00:11 +0000 (09:00 +0900)]
Add support for internal volume API set

[Version] 0.6.1
[Issue Type] New feature

Change-Id: I030a5411bd828f20276e8002f8160412e1b0f1f4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd internal API to get the pid of the latest stream 98/219298/4
Sangchul Lee [Fri, 5 Apr 2019 01:42:31 +0000 (10:42 +0900)]
Add internal API to get the pid of the latest stream

 - int sound_manager_get_latest_stream_pid(int stream_type, unsigned int *pid)

[Version] 0.6.0
[Issue Type] New feature

Change-Id: I39013f1bb6297a5b47c3d75e52f12460800c07bb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd invalid state error in _activate_ducking() 38/218338/2 accepted/tizen/unified/20191126.124717 submit/tizen/20191122.025001
Jeongmo Yang [Thu, 21 Nov 2019 10:23:51 +0000 (19:23 +0900)]
Add invalid state error in _activate_ducking()

[Version] 0.5.46
[Profile] Common
[Issue Type] Update

Change-Id: If734ff442ceb2d0b7807101e81dd5bbe7355b573
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoChange first parameter of _get_ducking_state() to check server connection in it 63/217263/1 accepted/tizen/unified/20191111.105602 submit/tizen/20191111.045007
Jeongmo Yang [Fri, 8 Nov 2019 04:58:09 +0000 (13:58 +0900)]
Change first parameter of _get_ducking_state() to check server connection in it

[Version] 0.5.45
[Profile] Common
[Issue Type] Update

Change-Id: Iaf0136107be17626242fec828253763b1819de75
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoAdd new flag to check server disconnection 90/217090/1 accepted/tizen/unified/20191107.051427 submit/tizen/20191106.074106
Jeongmo Yang [Wed, 6 Nov 2019 05:08:51 +0000 (14:08 +0900)]
Add new flag to check server disconnection

[Version] 0.5.44
[Profile] Common
[Issue Type] Error handling

Change-Id: I2fae80fc122fc933b37401c45db8c5e665d42c84
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoSet activated volume ratio instead of 1.0 when deactivate ducking 91/216891/1 accepted/tizen/unified/20191105.020150 submit/tizen/20191104.120939
Jeongmo Yang [Mon, 4 Nov 2019 11:52:39 +0000 (20:52 +0900)]
Set activated volume ratio instead of 1.0 when deactivate ducking

- The audio HAL of TV refers activated volume ratio when deactivate ducking
  to distinguish which activated stream is deactivated.

[Version] 0.5.43
[Profile] Common
[Issue Type] Update

Change-Id: I06dd59d7e310913e3f56b2e0c4ef90842c37126d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agofixup! Fix improper function reference 16/216216/1 submit/tizen/20191023.015231
Seungbae Shin [Tue, 22 Oct 2019 09:00:17 +0000 (18:00 +0900)]
fixup! Fix improper function reference

Change-Id: I389a54312c937a193d294f68fb68948ce25ece9f

4 years agosound_manager_test: Fix Coverity defect 82/216082/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.030209 accepted/tizen/5.5/unified/mobile/hotfix/20201027.064836 accepted/tizen/unified/20191021.072008 submit/tizen/20191021.025957 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
Sangchul Lee [Mon, 21 Oct 2019 02:55:34 +0000 (11:55 +0900)]
sound_manager_test: Fix Coverity defect

[Version] 0.5.42
[Issue Type] Coverity

Change-Id: I8c24d5700410047509bfbd78092b07312a4145dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix improper function reference 15/216015/1 submit/tizen/20191021.011902
Seungbae Shin [Fri, 18 Oct 2019 08:39:07 +0000 (17:39 +0900)]
Fix improper function reference

[Version] 0.5.41
[Issue Type] Document

Change-Id: I7d6b479fb501c703a4224713f9662e5056af45fb

4 years agoUpdate some description as suggested by documentation team. 78/213678/1 accepted/tizen/unified/20190911.111701 submit/tizen/20190910.061322
Jeongmo Yang [Tue, 10 Sep 2019 05:58:54 +0000 (14:58 +0900)]
Update some description as suggested by documentation team.

[Version] 0.5.40-1
[Profile] Common
[Issue Type] Update description

Change-Id: Ifa5623c96a8e2e225ed41af915c3e7bbb2c32e1b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoGet preferred device id from server 72/212972/3 accepted/tizen/unified/20190904.110721 submit/tizen/20190903.063631
Sangchul Lee [Wed, 28 Aug 2019 09:09:37 +0000 (18:09 +0900)]
Get preferred device id from server

[Version] 0.5.40
[Issue Type] Improvement

Change-Id: I40e0843d4ca07612b247e825cc373395336e5485
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agotestsuite : check return value of API properly. 28/212928/1
Seungbae Shin [Wed, 28 Aug 2019 07:35:43 +0000 (16:35 +0900)]
testsuite : check return value of API properly.

[Version] 0.5.39
[Issue Type] Coverity

Change-Id: I0a9450ca656b64d579591f367be74d15d2a6caf7

4 years agoSet volume ratio as 1.0 when deactivate ducking 27/212827/1
Jeongmo Yang [Tue, 27 Aug 2019 05:58:42 +0000 (14:58 +0900)]
Set volume ratio as 1.0 when deactivate ducking

[Version] 0.5.38
[Profile] Common
[Issue Type] Update

Change-Id: I68f8ee43318b5b69460ceec57775ac85f4236994
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years ago[ACR-1442] Change valid range of ratio for sound_manager_activate_ducking() 80/212380/4 accepted/tizen/unified/20190826.113215 submit/tizen/20190826.030705
Jeongmo Yang [Wed, 21 Aug 2019 02:14:26 +0000 (11:14 +0900)]
[ACR-1442] Change valid range of ratio for sound_manager_activate_ducking()

[Version] 0.5.37
[Profile] Common
[Issue Type] API change

Change-Id: I17c3aacc7a390b9424d2fb133fda5aa70bc3be86
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoAdd internal API to set preferred device id 43/212243/4 accepted/tizen/unified/20190821.064540 submit/tizen/20190820.081105
Sangchul Lee [Mon, 19 Aug 2019 07:40:38 +0000 (16:40 +0900)]
Add internal API to set preferred device id

It'll be used in CSharp API. (Tizen.Multimedia.AudioStreamPolicy)

[Version] 0.5.36
[Issue Type] New internal API

Change-Id: Ib5d21b430b411662e151fee1845a57af66f4927c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agofixup! Add new APIs to set or get preferred built-in device 10/211910/1 accepted/tizen/unified/20190812.235541 submit/tizen/20190812.060722
Sangchul Lee [Mon, 12 Aug 2019 03:37:03 +0000 (12:37 +0900)]
fixup! Add new APIs to set or get preferred built-in device

Change-Id: Ia76f7cd745eb7e9b234d72aff1482285d2986795
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agosound_manager_test: Exclude a test case for compiling with TIZEN_FEATURE_TV_PROD 20/211620/1 accepted/tizen/unified/20190808.113704 submit/tizen/20190807.082039
Sangchul Lee [Wed, 7 Aug 2019 07:32:39 +0000 (16:32 +0900)]
sound_manager_test: Exclude a test case for compiling with TIZEN_FEATURE_TV_PROD

sound_manager_set_virtual_stream_volume() test case is excluded.

[Version] 0.5.35
[Issue Type] Testsuite

Change-Id: I4d6cf7b4995a648b8566a926ab2b6bb922b9fd0d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoMove sound_stream_ducking_h definition to CAPI_MEDIA_SOUND_MANAGER_VOLUME_MODULE... 86/211386/3
Sangchul Lee [Fri, 2 Aug 2019 08:08:40 +0000 (17:08 +0900)]
Move sound_stream_ducking_h definition to CAPI_MEDIA_SOUND_MANAGER_VOLUME_MODULE group

[Version] 0.5.34
[Issue Type] Doxygen

Change-Id: I55c0cc6ebd76b107ec15a2f096f5c3eacacbe2d8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agosound_manager_test: Print device type with string format 62/211362/4
Sangchul Lee [Fri, 2 Aug 2019 02:11:21 +0000 (11:11 +0900)]
sound_manager_test: Print device type with string format

[Version] 0.5.33
[Issue Type] Testsuite

Change-Id: I6cf221190eb7f33d2fd24b0874c5e015375bb923
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd new APIs to set or get preferred built-in device 57/210257/14
Sangchul Lee [Wed, 3 Jul 2019 05:18:35 +0000 (14:18 +0900)]
Add new APIs to set or get preferred built-in device

These new APIs are to set or get a specific built-in device when
the system has multiple devices of the same built-in device type.

When there's only one device for a built-in device type in the system,
nothing will happen even if these functions succeed in operation.

 - sound_manager_set_preferred_device
 - sound_manager_get_preferred_device

[Version] 0.5.32
[Issue Type] New feature

Change-Id: I7a709462031238de4127d9e6a5087577245f1627
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevert "Add sound_manager_set_virtual_stream_volume() in sound_manager_internal_tv.h" 69/211569/2
Sangchul Lee [Tue, 6 Aug 2019 22:48:51 +0000 (22:48 +0000)]
Revert "Add sound_manager_set_virtual_stream_volume() in sound_manager_internal_tv.h"

This reverts commit 0002193b13dffd30b604307d2cc7ac8cbb7b663c.

Change-Id: I7818daffbbafce8f4b15bde0abcf71f490b3fb6d

4 years agoAdd sound_manager_set_virtual_stream_volume() in sound_manager_internal_tv.h 07/211507/1 accepted/tizen/unified/20190806.220541 submit/tizen/20190806.084756
jungsup lee [Tue, 6 Aug 2019 05:28:03 +0000 (14:28 +0900)]
Add sound_manager_set_virtual_stream_volume() in sound_manager_internal_tv.h

[Version] 0.5.32
[Issue Type] Bug Fix

Change-Id: I8216dc63483b9c74e99378b3ebf4189f4d895c70
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
4 years ago[ACR-1422] Add new APIs for sound ducking 59/208159/30 accepted/tizen/unified/20190716.111232 submit/tizen/20190716.020521
Jeongmo Yang [Wed, 19 Jun 2019 05:19:42 +0000 (14:19 +0900)]
[ACR-1422] Add new APIs for sound ducking

- sound_manager_create_stream_ducking
- sound_manager_is_ducked
- sound_manager_activate_ducking
- sound_manager_deactivate_ducking
- sound_manager_destroy_stream_ducking

[Version] 0.5.31
[Issue Type] New feature

Change-Id: I69edb909e469a8ce7078a5fe23701856db738b8e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoAdd gcov package for line coverage automation 49/209449/1 accepted/tizen/unified/20190710.103413 submit/tizen/20190709.022805
Seungbae Shin [Mon, 8 Jul 2019 05:49:49 +0000 (14:49 +0900)]
Add gcov package for line coverage automation

[Version] 0.5.30
[Issue Type] Coverage

Change-Id: I7826a3247240a779f978a6eaac0da842eb697f0e

4 years agoMerge branch 'tizen_line_coverage' into tizen 48/209448/1
Seungbae Shin [Mon, 8 Jul 2019 05:48:27 +0000 (14:48 +0900)]
Merge branch 'tizen_line_coverage' into tizen

Change-Id: I44835edc52e068b08c5d126cf52bba481eff09f1

4 years agoRemove unused destructor/constructor block 63/209163/1
Sangchul Lee [Wed, 3 Jul 2019 05:30:47 +0000 (14:30 +0900)]
Remove unused destructor/constructor block

[Version] 0.5.29
[Issue Type] Code clean-up

Change-Id: I0c5c28b8848bed4f1f8b20cd3d8a04b3094952c1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix wrong description in doxygen 59/209159/3
Sangchul Lee [Wed, 3 Jul 2019 05:03:52 +0000 (14:03 +0900)]
Fix wrong description in doxygen

[Version] 0.5.28
[Issue Type] Typo

Change-Id: Ie877d79080ce5899893acfe3b70dd1cd95ab97db
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoMerge "Add new device type - SOUND_DEVICE_NETWORK" into tizen accepted/tizen/unified/20190626.040935 submit/tizen/20190625.071416
Sangchul Lee [Tue, 25 Jun 2019 07:13:00 +0000 (07:13 +0000)]
Merge "Add new device type - SOUND_DEVICE_NETWORK" into tizen

4 years agofixup! Add new internal stream type - SOUND_STREAM_TYPE_MEDIA_NETWORK_SOURCE 08/208408/1 accepted/tizen/unified/20190625.051500 submit/tizen/20190624.063510
Sangchul Lee [Mon, 24 Jun 2019 05:52:53 +0000 (14:52 +0900)]
fixup! Add new internal stream type - SOUND_STREAM_TYPE_MEDIA_NETWORK_SOURCE

Change-Id: I11edfcf3143c87ebaf74266e4a8aeafd1afd6c9d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd new device type - SOUND_DEVICE_NETWORK 76/208076/4
Sangchul Lee [Tue, 18 Jun 2019 01:44:48 +0000 (10:44 +0900)]
Add new device type - SOUND_DEVICE_NETWORK

SOUND_DEVICE_NETWORK type is newly added to support network audio
devices. Even though there might be different kinds of network
audio protocols, user would be notified by this new device type.
The name property of the device would be a hint to distinguish
each network device.

[Version] 0.5.27
[Issue Type] New feature

Change-Id: I01551e307d7d086b6aac090a7e39ffb20353240c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd internal API to set ACM master mode 70/208070/4 accepted/tizen/unified/20190621.121848 submit/tizen/20190619.053430 submit/tizen/20190620.095920
Sangchul Lee [Tue, 18 Jun 2019 01:00:41 +0000 (10:00 +0900)]
Add internal API to set ACM master mode

[Version] 0.5.26
[Issue Type] New feature

Change-Id: Ib144b92e53d5a59f38cae1dab65eb6564197e6ce
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd new internal stream type - SOUND_STREAM_TYPE_MEDIA_NETWORK_SOURCE 69/208069/3
Sangchul Lee [Tue, 18 Jun 2019 00:43:00 +0000 (09:43 +0900)]
Add new internal stream type - SOUND_STREAM_TYPE_MEDIA_NETWORK_SOURCE

[Version] 0.5.25
[Issue Type] New feature

Change-Id: I53bf840763f1bf127c3478edb4088bd5ecd6e9e1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoCheck non-NULL before g_error_free() 05/205905/2
Sangchul Lee [Fri, 10 May 2019 08:00:17 +0000 (17:00 +0900)]
Check non-NULL before g_error_free()

It is added to avoid warning log inside of g_error_free().

[Version] 0.5.24
[Issue Type] Improvement

Change-Id: I3e1d63f8a4bc0e169daeb720eb4a2753a3f04bcc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
5 years agoMerge branch 'tizen' into tizen_line_coverage 40/204340/1 tizen_line_coverage
Sangchul Lee [Tue, 23 Apr 2019 07:09:22 +0000 (16:09 +0900)]
Merge branch 'tizen' into tizen_line_coverage

Change-Id: I860bd7c9d8bf82b4dfb2b50ea5bce7ea0fb482d3

5 years agoAdd internal API for setting virtual stream volume 79/204179/2 accepted/tizen/unified/20190425.014626 submit/tizen/20190423.020435
Sangchul Lee [Mon, 22 Apr 2019 01:42:49 +0000 (10:42 +0900)]
Add internal API for setting virtual stream volume

[Version] 0.5.23
[Issue Type] New feature

Change-Id: Ia803cdb4c09ceed2de53d577420e44fa2f34320c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
5 years agoFix invalid length which is set to strncmp() 23/202323/1
Sangchul Lee [Wed, 27 Mar 2019 05:59:19 +0000 (14:59 +0900)]
Fix invalid length which is set to strncmp()

[Version] 0.5.22
[Issue Type] test suite

Change-Id: I35e0bbc95f04b7e40d7f23954dac2db6057e6049
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>