platform/core/multimedia/pulseaudio-modules-tizen.git
3 months agoMerge branch 'tizen' into tizen_8.0 28/303928/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20240108.163057
Seungbae Shin [Mon, 8 Jan 2024 06:35:40 +0000 (15:35 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: I4fc9762d063b6ceedd69fcbf85a05c4313d8fbc3

3 months agotizenaudio-publish: Fix DEREF_OF_NULL.RET.STAT 27/303927/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240108.163427 accepted/tizen/unified/riscv/20240109.034841
Seungbae Shin [Mon, 8 Jan 2024 06:31:06 +0000 (15:31 +0900)]
tizenaudio-publish: Fix DEREF_OF_NULL.RET.STAT

[Version] 15.0.75
[Issue Type] Svace

Change-Id: I59ce26b8bf705339c79078414dc66c37beeb219d

4 months agopreprocessor: Fix omitting source-output memchunks sometimes 34/303734/1 accepted/tizen/8.0/unified/20240104.165430
Jaechul Lee [Mon, 18 Dec 2023 06:18:44 +0000 (15:18 +0900)]
preprocessor: Fix omitting source-output memchunks sometimes

A memchunk from the source-ouput sometimes got lost because reference
blocks were not buffered enough. therefore, it tries to wait for reference
memblocks while keeping source memblocks.

[Version] 15.0.74
[Issue Type] Update

Change-Id: Iab7ff2c5b7a609f4631e56d4ff889bf6a7388511
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
4 months agopreprocessor: Fix omitting source-output memchunks sometimes 70/302970/17 accepted/tizen/unified/20240104.012441 accepted/tizen/unified/riscv/20240105.060204
Jaechul Lee [Mon, 18 Dec 2023 06:18:44 +0000 (15:18 +0900)]
preprocessor: Fix omitting source-output memchunks sometimes

A memchunk from the source-ouput sometimes got lost because reference
blocks were not buffered enough. therefore, it tries to wait for reference
memblocks while keeping source memblocks.

[Version] 15.0.74
[Issue Type] Update

Change-Id: Iab7ff2c5b7a609f4631e56d4ff889bf6a7388511
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
4 months agoMerge branch 'tizen' into tizen_8.0 51/303551/1 accepted/tizen/8.0/unified/20240103.162252
Seungbae Shin [Tue, 2 Jan 2024 05:55:34 +0000 (14:55 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: Id6449de3d7c35b900c31fab951229020f5e6a19e

4 months agoFix BAD_CHECK_OF_WAIT_COND 22/303522/3
Seungbae Shin [Fri, 29 Dec 2023 09:45:33 +0000 (18:45 +0900)]
Fix BAD_CHECK_OF_WAIT_COND

[Version] 15.0.73
[Issue Type] Coverity

Change-Id: Iab2a0fded8cf6dc9f896790834cf3cd65e356ccb

4 months agoFix REVERSE_INULL 09/303209/2 accepted/tizen/unified/20231228.165650 accepted/tizen/unified/riscv/20240103.054640
Jaechul Lee [Thu, 21 Dec 2023 08:02:06 +0000 (17:02 +0900)]
Fix REVERSE_INULL

[Version] 15.0.72
[Issue Type] Coverity

Change-Id: I93c16701edf55db3e3d8de8f2eb12aeb9bb3b2dd
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
4 months agoMerge branch 'tizen' into tizen_8.0 73/303173/1 accepted/tizen/8.0/unified/20231222.172916
Seungbae Shin [Thu, 21 Dec 2023 02:49:27 +0000 (11:49 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: I00f7a640fc7d9523b93dcb7fb5ffa8942d671b03

4 months agostream-manager: Add periodical dump for monitoring 56/302856/8 accepted/tizen/unified/20231219.160333 accepted/tizen/unified/riscv/20231226.211719
Seungbae Shin [Thu, 14 Dec 2023 12:22:04 +0000 (21:22 +0900)]
stream-manager: Add periodical dump for monitoring

currently, the following stuffs are on dump

- sink-inputs
- source-outputs
- stream duckings

[Version] 15.0.71
[Issue Type] Feature

Change-Id: I13517e0459a2cfa0556867eaa96f713587530438

4 months agosound-player: support keysound priority 96/301596/6
Seungbae Shin [Mon, 20 Nov 2023 10:06:29 +0000 (19:06 +0900)]
sound-player: support keysound priority

- The new higher(or the same) priority plays after
  stopping the previous lower(or the same) priority playbacks.
- If the new playback is lower priority, then will be no operation.
- The priority with -1 will be mixed always with others,
  no matter what other playback's priority is.

[Version] 15.0.70
[Issue Type] Feature

Change-Id: I51cf09e08a3bc04c5f0b160c2924a7486d04bade

5 months agopreprocessor: Add bypass functionality 63/301663/4 accepted/tizen/unified/20231122.172550 accepted/tizen/unified/riscv/20231215.050530
Jaechul Lee [Tue, 21 Nov 2023 07:48:30 +0000 (16:48 +0900)]
preprocessor: Add bypass functionality

A source-output is stuck when the sink doesn't feed reference data enough.
So, bypass mode was added in case there wasn't sink-inputs.

[Version] 15.0.69
[Issue Type] Update

Change-Id: I1e2a58723d6f2facada2d578bb35c51c9821eb40
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
5 months agotizenaudio-source: Add smoother for the accurate latency 16/301516/2 accepted/tizen/unified/20231120.174018
Jaechul Lee [Fri, 17 Nov 2023 07:50:20 +0000 (16:50 +0900)]
tizenaudio-source: Add smoother for the accurate latency

[Version] 15.0.68
[Issue Type] Update

Change-Id: Ib9bfb0a3434075b66235939ce0fa49c48345727a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
5 months agoEnable preprocessor feature 72/301272/1 accepted/tizen/unified/20231115.173522
Jaechul Lee [Mon, 13 Nov 2023 07:30:55 +0000 (16:30 +0900)]
Enable preprocessor feature

[Version] 15.0.67
[Issue Type] Update

Change-Id: I6d762dab82cce91bb27a9c18179fba4991249939
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
5 months agotizenaudio-sink2/source2: Add fixed_latency_msec parameter 22/301022/3 accepted/tizen/unified/20231115.024823
Jaechul Lee [Tue, 7 Nov 2023 06:53:29 +0000 (15:53 +0900)]
tizenaudio-sink2/source2: Add fixed_latency_msec parameter

[Version] 15.0.66
[Issue Type] Update

Change-Id: I6c1dd0fc703996f4db77d4be9e9a4c671e2aaad1
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
5 months agopreprocessor: Improve AEC performance 08/301008/2
Jaechul Lee [Tue, 7 Nov 2023 04:37:48 +0000 (13:37 +0900)]
preprocessor: Improve AEC performance

Added exception handlings instead of using silence blocks

[Version] 15.0.65
[Issue Type] Update

Change-Id: I888b4f0d92b88e770fa3866af1b6fbb2b846c127
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
5 months agotizenaudio-sink2/source2: Adjust default fragment msec 07/301007/1
Jaechul Lee [Tue, 7 Nov 2023 04:37:12 +0000 (13:37 +0900)]
tizenaudio-sink2/source2: Adjust default fragment msec

In case of the loopback scenario, it take much time for the round trip latency.
So, It needs to be reduced the latency than before.

[Version] 15.0.64
[Issue Type] Update

Change-Id: I2e2ab793a1bf265191ed14f0fb806746f3453178
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agoIncrease prebuffer size 77/300877/1
Jaechul Lee [Fri, 3 Nov 2023 07:54:29 +0000 (16:54 +0900)]
Increase prebuffer size

In case of TV, it feeds reference data unregularly. So, it needs to
gather more buffers.

[Version] 15.0.63
[Issue Type] Update

Change-Id: I730948ccdcaf933241e47d2b3813576cbd7fd519
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agoMerge branch 'tizen' into tizen_8.0 67/300667/1 accepted/tizen/8.0/unified/20231103.040846
Seungbae Shin [Mon, 30 Oct 2023 04:32:14 +0000 (13:32 +0900)]
Merge branch 'tizen' into tizen_8.0

Change-Id: Ic3c6dc6cdf7dcbd9e7e3502be5aebe1d5e712bc0

6 months agoRename preprocess_state to preprocess_on 67/300367/3 accepted/tizen/unified/20231025.093254 accepted/tizen/unified/20231025.120149
Jaechul Lee [Mon, 23 Oct 2023 05:34:04 +0000 (14:34 +0900)]
Rename preprocess_state to preprocess_on

[Version] 15.0.62
[Issue Type] Update

Change-Id: Iab3076ca9e06722bb5156ea71f5448d6035eb269
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agopreprocessor: Add prebuffering for a input memblock 48/300248/4
Jaechul Lee [Thu, 19 Oct 2023 07:42:33 +0000 (16:42 +0900)]
preprocessor: Add prebuffering for a input memblock

a reference plabyack devices sometimes pushes its data irregularly.
So, the source tries to gather more buffers to prevent reference underrun situations.

In case of SlimFit with this patch, It works better than before.

[Version] 15.0.61
[Issue Type] Update

Change-Id: Iae9208006d896350305c6c3d66854fa12cb5b69e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agotizenaudio-sink: Support Acoustic Echo Cancellation 36/300236/2
Jaechul Lee [Thu, 19 Oct 2023 06:40:50 +0000 (15:40 +0900)]
tizenaudio-sink: Support Acoustic Echo Cancellation

tizenaudio-sink needs to be supported AEC functionality.
The code that is related to ENABLE_PREPROCESS came from tizenaudio-sink2.

[Version] 15.0.60
[Issue Type] Update

Change-Id: I148fe3492103f1b622c74bc5a5a018386f22c0e3
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agotizenaudio-sink2/source2: Return 0 when closing devices fails 17/299917/1
Jaechul Lee [Thu, 12 Oct 2023 06:31:04 +0000 (15:31 +0900)]
tizenaudio-sink2/source2: Return 0 when closing devices fails

In case of USB devices, closing PCM function could be failed because the
snd node already disappear.

AUDIO_HAL(P 1276, T 3928): tizen-audio-impl-pcm.c: _pcm_close(156) > Error closing PCM handle : No such device
AUDIO_HAL(P 1276, T 3928): tizen-audio-glue.c: audio_close(131) > Failed to close device
PULSEAUDIO(P 1276, T 3928): hal-interface.c: pa_hal_interface_pcm_close(349) > hal_audio_pcm_close error:0x80001005
PULSEAUDIO(P 1276, T 3928): tizenaudio-source2.c: suspend(147) > Error closing PCM device. rtpoll will be stopped anyway
PULSEAUDIO(P 1276, T 3928): tizenaudio-source2.c: suspend(156) > Device suspended...
PULSEAUDIO(P 1276, T 3928): hal-interface.c: pa_hal_interface_pcm_available(360) > Assertion 'pcm_h' failed at src/hal-interface.c:360, function pa_hal_interface_pcm_av
PULSEAUDIO(P 1276, T 1276): source.c: source_set_state(491) > Assertion 'resuming' failed at ../src/pulsecore/source.c:491, function source_set_state(). Aborting.

[Version] 15.0.59
[Issue Type] Bug Fix

Change-Id: I2be4ae86c090a994e6e9227720ea020b6fea25d9
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
6 months agopreprocess: Use 100ms fragment msec in case of TV 63/299763/1
Jaechul Lee [Tue, 10 Oct 2023 03:04:28 +0000 (12:04 +0900)]
preprocess: Use 100ms fragment msec in case of TV

When the fragment_size was set to 10ms by default, the playing/capturing
sometimes failed in case of TV.

[Version] 15.0.58
[Issue Type] Update

Change-Id: Ic78936fe421b76471f96a0df9027b91d60c16cd3
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
7 months agopreprocess: Fix pulseaudio crash when reference resampler is NULL 97/299397/1 accepted/tizen/unified/20231011.153126
Jaechul Lee [Wed, 27 Sep 2023 08:27:00 +0000 (17:27 +0900)]
preprocess: Fix pulseaudio crash when reference resampler is NULL

reference resampler could be NULL if a source-ouput spec and a reference
spec are same.

[Version] 15.0.57
[Issue Type] Update

Change-Id: I8ce29df53ca24040424d8999418a771233381cad
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
7 months agopreprocess: Set actual process usec when a reference structure is created 25/299125/3
Jaechul Lee [Wed, 20 Sep 2023 08:33:27 +0000 (17:33 +0900)]
preprocess: Set actual process usec when a reference structure is created

process_usec could be changed after creating processor because plugins
could have its own constraint framesize.
If there is changes, reference process_usec must be changed as well.

[Version] 15.0.56
[Issue Type] Update

Change-Id: I4d5111ec62cfaf9e98828909da9b9b718ed08fbc
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
7 months agoEnable PA_SINK_MESSAGE_GET_LATENCY message 36/298436/1 accepted/tizen/8.0/unified/20231005.093523 accepted/tizen/unified/20230912.171628 tizen_8.0_m2_release
Jaechul Lee [Thu, 7 Sep 2023 02:59:16 +0000 (11:59 +0900)]
Enable PA_SINK_MESSAGE_GET_LATENCY message

the message should be processed by default.
In addition to this changes, logging message was added when reading pcm
takes more than 150msec.

[Version] 15.0.55
[Issue Type] Update

Change-Id: I8f42e28bdea00e5f7b9a3cc24c903fa590e11cf3
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
8 months agoAdd the sw_volume_dB parameter 75/297875/3 accepted/tizen/unified/20230830.170616
Jaechul Lee [Mon, 28 Aug 2023 04:38:03 +0000 (13:38 +0900)]
Add the sw_volume_dB parameter

The sw_volume_dB parameter is added to tizenaudio-source2.
In addition to this, some logs are added when read function takes more
than 100ms.

[Version] 15.0.54
[Issue Type] Update

Change-Id: Ie76dd586df3427a011ce5ec86bf5dd89cd3b6256
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
8 months agoSupport long device names and parameters 66/297266/13
Jaechul Lee [Thu, 10 Aug 2023 08:02:26 +0000 (17:02 +0900)]
Support long device names and parameters

It supports various types of devices such as file, pipe, and
audio-share.

e.g) device-map.json in media-config repo

    {
        "device-string":"tizen2:file,/opt/usr/media/test.raw",
        "role":{"normal":"rate=16000 channels=1 fragment_size=320 fragments=4 rtpoll_timeout=10"}
    }
    or,
    {
        "device-string":"tizen2:audio-share,0",
        "role":{"normal":"rate=16000 channels=1 fragment_size=320 fragments=4 rtpoll_timeout=10"}
    }
    or,
    {
        "device-string":"tizen2:pipe,/tmp/pipe",
        "role":{"normal":"rate=16000 channels=1 fragment_size=320 fragments=4 rtpoll_timeout=10"}
    }

[Version] 15.0.53
[Issue Type] Update

Change-Id: I02309b8028707bac27f3a5532650808f874482ce
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
8 months agomodule-tizenaudio-sink: update small_avail_count even if avail is 0 62/297362/5
jungsup lee [Wed, 16 Aug 2023 08:52:35 +0000 (17:52 +0900)]
module-tizenaudio-sink: update small_avail_count even if avail is 0

Avail is 0 means that the audio driver is full.
But now, we don't know even if avail is 0 for a long time.
So, I changed code to know this situation.

[Version] 15.0.52
[Issue Type] Debug

Change-Id: Ie35b5796210936254a01d6f883dab9d5d4f6f8a3

8 months agopreprocess: Fix a coverity issue 73/297273/2 accepted/tizen/unified/20230821.103311
Jaechul Lee [Wed, 16 Aug 2023 06:34:03 +0000 (15:34 +0900)]
preprocess: Fix a coverity issue

[Version] 15.0.51
[Issue Type] Coverity (CHECK_RETURN)

Change-Id: Ia179e493171e8622ddffd844f744cb45ae375758
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
9 months agopreprocess: Add agc-speex functionality 12/295912/1 accepted/tizen/unified/20230719.170110
Jaechul Lee [Mon, 17 Jul 2023 06:54:34 +0000 (15:54 +0900)]
preprocess: Add agc-speex functionality

[Version] 15.0.50
[Issue Type] update

Change-Id: I0a5b314fe4cbdce605eac4747a5c30b531e00c90
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
9 months agopreprocess: Add prefix NS, AEC to method names 25/295625/6
Jaechul Lee [Wed, 12 Jul 2023 02:19:05 +0000 (11:19 +0900)]
preprocess: Add prefix NS, AEC to method names

* changed method names
* added srid method
* fixed build warning
* fixed a crash when source-output moves

[Version] 15.0.49
[Issue Type] update

Change-Id: I1ac4128b038a78c42150ede7d49cc553f6684708
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agopreprocess: Fix crash when starting with speex and webrtc aec both 22/295322/3 accepted/tizen/unified/20230710.013120
Jaechul Lee [Wed, 5 Jul 2023 07:03:43 +0000 (16:03 +0900)]
preprocess: Fix crash when starting with speex and webrtc aec both

Using two aec processors at the same time should be banned.

[Version] 15.0.48
[Issue Type] Bug

Change-Id: Ic03ca99ca42475df945afb414df6dfe46cf9b4d4
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoFix Coverity issues 21/294921/9 accepted/tizen_unified_dev accepted/tizen/unified/20230703.143006 accepted/tizen/unified/dev/20230726.115814
Jaechul Lee [Thu, 29 Jun 2023 01:38:43 +0000 (10:38 +0900)]
Fix Coverity issues

[Version] 15.0.47
[Issue Type] Coverity

Change-Id: I78aa096cbd122ec67a4eb8f0b988a0f21f308740
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agopreprocess: Support source and source2 both 76/294876/2
Jaechul Lee [Wed, 28 Jun 2023 05:42:23 +0000 (14:42 +0900)]
preprocess: Support source and source2 both

preprocess will be available when a source that is connected to
a source-output is tizen source.

[Version] 15.0.46
[Issue Type] New feature

Change-Id: I9111da7eb5960502aab7d5c3d4ce1d265c48584e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoAdd configuration for preprocessor 64/294564/1 accepted/tizen/unified/20230622.015430
Jaechul Lee [Wed, 21 Jun 2023 07:20:56 +0000 (16:20 +0900)]
Add configuration for preprocessor

preprocessor functionality makes a build error in the VD repo.
because it doesn't have some packages such as rnnoise, libaudio-effect,
webrtc-audio-processing.

This configuration would be removed after the packages are completely included.

[Version] 15.0.45
[Issue Type] Build Break(VD)

Change-Id: I5685f0f2852746f3c1ac7257ee98474d9a721bcb
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoChange TYPE to METHOD 25/294325/5 accepted/tizen/unified/20230621.023255
Jaechul Lee [Fri, 16 Jun 2023 05:43:32 +0000 (14:43 +0900)]
Change TYPE to METHOD

audio_effect_type_e has been changed to audio_effect_method_e.

[Version] 15.0.44
[Issue Type] Update

Change-Id: Ia0e3ddfca0346addfb3de6e7fe317f613ae347d1
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoFix coverity issue(UNUSED_VALUE) 32/294432/2
Jaechul Lee [Mon, 19 Jun 2023 07:43:37 +0000 (16:43 +0900)]
Fix coverity issue(UNUSED_VALUE)

[Version] 15.0.43
[Issue Type] Coverity(1677535)

Change-Id: I9b8e6c67e9a2fc96da95b31b8e8c21a84d2a2d96
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoUse libaudio-effect module 72/292672/11 accepted/tizen/unified/20230620.022501
Jaechul Lee [Wed, 10 May 2023 08:20:56 +0000 (17:20 +0900)]
Use libaudio-effect module

* Moved every plugin to libaudio-effect
* Added a dependency on libaudio-effect

[Version] 15.0.42
[Issue Type] New feature

Change-Id: Ib32588d6138258647af5df5ce0f622289003ad49
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
10 months agoAdd noise suppression functionality 78/290278/19
Jaechul Lee [Mon, 13 Feb 2023 06:24:37 +0000 (15:24 +0900)]
Add noise suppression functionality

* Added the processor_holder structure for multi preprocessing.
* Added the processor_reference structure for receiving reference data.
* Added a NS method based on rnnoise.
* Added filesrc reference method.
* Replaced tizenaudio-echo-cancel with module-tizenaudio-preprocessor.
* Had dependencies on webrtc-audio-processing and rnnoise.
* Changed folder name echo-cancel to preprocessor.
* Disabled noise suppression functionality in method_webrtc.
* Removed method_adrian.

[Version] 15.0.41
[Issue Type] New feature

Change-Id: I22bfdffadabe4c9dbd08ce432c8d72a8f4d41dc4
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
11 months agoFix typos 44/292444/1 accepted/tizen/unified/20230531.034435
Seungbae Shin [Mon, 8 May 2023 06:50:31 +0000 (15:50 +0900)]
Fix typos

[Version] 15.0.40
[Issue Type] Cleanup

Change-Id: If7c751c3aa28b411487ef3029a8ac76f8e810b43

11 months agodevice-manager: support external tv source device for tv product 83/291083/6
Seungbae Shin [Fri, 7 Apr 2023 11:55:35 +0000 (20:55 +0900)]
device-manager: support external tv source device for tv product

[Version] 15.0.39
[Issue Type] Product

- tv source will use DEVICE_TYPE_FORWARDING
- unnecessary public operation code related to DEVICE_TYPE_FORWARDING will be disabled for the tv product build.

Change-Id: I18c18ffe5ff2b7d5417d45dd0b2868e5068393fa

12 months agotizenaudio-policy: Fix ASAN stack-buffer-overflow defect 79/291179/1
Seungbae Shin [Tue, 11 Apr 2023 06:54:49 +0000 (15:54 +0900)]
tizenaudio-policy: Fix ASAN stack-buffer-overflow defect

==pulseaudio==586==ERROR: AddressSanitizer: stack-buffer-overflow
WRITE of size 8 at 0x007ffa2fa500 thread T0

[Version] 15.0.38
[Issue Type] Bug

Change-Id: Icb95313682de9acb7390196df5be03df122a2f26

13 months agotizen-sink2/source2: Fix abort when disconnecting USB devices 97/290697/2
Jaechul Lee [Fri, 31 Mar 2023 02:41:46 +0000 (11:41 +0900)]
tizen-sink2/source2: Fix abort when disconnecting USB devices

[Version] 15.0.37
[Issue Type] Bug

Change-Id: I79b5e88f7c2595c436d2863241c6d52b3687ad6b
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
15 months agoMerge "echo-cancel: Allow various period size" into tizen
jaechul lee [Tue, 17 Jan 2023 02:05:17 +0000 (02:05 +0000)]
Merge "echo-cancel: Allow various period size" into tizen

15 months agoecho-cancel: Allow various period size 03/286803/6
Jaechul Lee [Fri, 13 Jan 2023 05:16:45 +0000 (14:16 +0900)]
echo-cancel: Allow various period size

It allows sink's buffer size more/less than source's buffer size.
For example, it's able to set like sink 25ms, source 15ms.

[Version] 15.0.36
[Issue Type] Update

Change-Id: I8b697674ee20d46f7b9159e66c229cb2469540d0
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
15 months agofixup! tizen-device: add sample spec and return it for connected device list 43/286843/5 accepted/tizen/unified/20230117.140512
Seungbae Shin [Fri, 13 Jan 2023 11:28:31 +0000 (20:28 +0900)]
fixup! tizen-device: add sample spec and return it for connected device list

fixes the following potential ASAN issue by retrieving device sample spec just in time.

==pulseaudio==605==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x007f940031f0
0x007f940031f0 is located 424 bytes to the right of 1480-byte region [0x007f94002a80,0x007f94003048)

[Version] 15.0.36
[Issue Type] ASAN

Change-Id: Id3d111cc4a73d026be3c31c6a4ba7a3a6f97d835

16 months agostream-manager-dbus: return device id also for get_current_media_routing_path method 20/286120/2 accepted/tizen/unified/20230105.154705
Seungbae Shin [Wed, 28 Dec 2022 08:05:15 +0000 (17:05 +0900)]
stream-manager-dbus: return device id also for get_current_media_routing_path method

API related: sound_manager_get_current_media_playback_device_id()

[Version] 15.0.35
[Issue Type] Update

Change-Id: I27cbad83700c20262cf5ed5e88987755ff5d7523

16 months agodevice-manager: update hdmi device management mechanism 70/285470/3 accepted/tizen/unified/20221219.024712
Seungbae Shin [Tue, 13 Dec 2022 08:59:44 +0000 (17:59 +0900)]
device-manager: update hdmi device management mechanism

This update is based on the latest RPI kernel,
the related obsolete hdmi handling code is now removed.

[Version] 15.0.34
[Issue Type] Update

Change-Id: I994fb43982c394cfa600219f51cd259a9b14e27f

18 months agosound-player: support fd-passing for supporting container playback 84/283384/6 accepted/tizen/unified/20221104.082258
Seungbae Shin [Tue, 25 Oct 2022 12:29:40 +0000 (21:29 +0900)]
sound-player: support fd-passing for supporting container playback

[Version] 15.0.33
[Issue Type] Feature

Change-Id: I34f8c474a9ac9e5d882d4616bd9de9d1e49ab5a8

18 months agotizen-sink/source: fix svace defects 56/283256/2 accepted/tizen/unified/20221102.020514
Jaechul Lee [Fri, 21 Oct 2022 02:55:55 +0000 (11:55 +0900)]
tizen-sink/source: fix svace defects

This commit fixes warnings as follows

NO_CAST.INTEGER_OVERFLOW
SEC_INVALID_ASSIGNMENT_WITH_UNSIGNED_VALUES

[Version] 15.0.32
[Issue Type] Svace

Change-Id: I901662abb6efdc5171d58d4042e5e4140a69c1d0
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
18 months agoladspa/acm: fix svace defects 25/283225/1
Seungbae Shin [Thu, 20 Oct 2022 10:42:36 +0000 (19:42 +0900)]
ladspa/acm: fix svace defects

Checker: SEC_DO_NOT_USE_INT_IN_FOR_LOOP
         SEC_DO_NOT_ASSIGN_SIZE_OF_INT

[Version] 15.0.31
[Issue Type] Svace

Change-Id: Idfe703452c983f3cd5f49c3a6c7a6ad6ae8a6720

18 months agotizen-device: add sample spec and return it for connected device list 14/282614/10
Seungbae Shin [Thu, 6 Oct 2022 11:38:53 +0000 (20:38 +0900)]
tizen-device: add sample spec and return it for connected device list

[Version] 15.0.30
[Issue Type] Feature

Change-Id: I6a541a0d71f2924e778989c999a67b7b7310bf0f

18 months agosound-player: stop all other existence sound playbacks if requested 89/282189/16
Seungbae Shin [Wed, 28 Sep 2022 04:35:46 +0000 (13:35 +0900)]
sound-player: stop all other existence sound playbacks if requested

[Version] 15.0.29
[Issue Type] Feature

Change-Id: Ife2480f0afc993165186e6f7b1cd04dbe16539fe

20 months agoFix mismatching between enum and method_table 91/279691/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105454 accepted/tizen/unified/20220817.153742 submit/tizen/20220816.084510 tizen_7.0_m2_release
Jaechul Lee [Tue, 16 Aug 2022 07:45:25 +0000 (16:45 +0900)]
Fix mismatching between enum and method_table

enums should be matched to method_table because the enum is used as an
index.

[Version] 15.0.28
[Issue Type] Bug

Change-Id: I55b3e001ff035ca1983b96efcea3c8e4728f513a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
20 months agofixup! fixup! Enable webrtc-audio-processing by default 83/279383/2 submit/tizen/20220812.094800
Seungbae Shin [Mon, 8 Aug 2022 08:27:01 +0000 (17:27 +0900)]
fixup! fixup! Enable webrtc-audio-processing by default

Fix the following crash error due to invalid enumeration value.

processor.c: pa_processor_get_method(498) > processing method is selected. request_method(reference_copy), method_to_string((null))
processor.c: pa_processor_new(169) > Assertion 'method < PA_PROCESSOR_METHOD_MAX' failed at src/echo-cancel/processor.c:169, function pa_processor_new(). Aborting.

[Version] 15.0.27
[Issue Type] Bug

Change-Id: I331fbea04be4a2d0471b916082f3da298c31a851

21 months agofixup! Enable webrtc-audio-processing by default 06/278006/1 accepted/tizen/unified/20220719.131748 submit/tizen/20220718.045416
Jaechul Lee [Mon, 18 Jul 2022 04:46:15 +0000 (13:46 +0900)]
fixup! Enable webrtc-audio-processing by default

[Version] 15.0.26
[Issue Type] Bug

Change-Id: I683f8ca264196f01107f4713129e21ab233650ca

21 months agoEnable webrtc-audio-processing by default 78/276878/8 accepted/tizen/unified/20220714.135401 submit/tizen/20220713.013700
Jaechul Lee [Mon, 27 Jun 2022 08:41:30 +0000 (17:41 +0900)]
Enable webrtc-audio-processing by default

[Version] 15.0.25
[Issue Type] Improvement

Change-Id: Icb43727592ce90077ed6badf8481680dccc57ef1
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agoecho-cancel: Fix coverity issues (PARAMETER_HIDDEN) 20/277220/2 accepted/tizen/unified/20220705.211117 submit/tizen/20220704.084748
Jaechul Lee [Mon, 4 Jul 2022 02:30:59 +0000 (11:30 +0900)]
echo-cancel: Fix coverity issues (PARAMETER_HIDDEN)

[Version] 15.0.24
[Issue Type] Coverity

Change-Id: Ia5f389a408b7bb97ab379215939d9b910aebb8ee
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agoecho-cancel: Replace 'algo' prefix with 'method' 53/277053/3
Jaechul Lee [Thu, 30 Jun 2022 04:10:12 +0000 (13:10 +0900)]
echo-cancel: Replace 'algo' prefix with 'method'

[Version] 15.0.23
[Issue Type] Rename

Change-Id: I8eee586036ef0f107f94413285b22a5736284318
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agotizenaudio-util: Fix loading errors 47/276947/2 accepted/tizen/unified/20220628.133453 submit/tizen/20220628.075152
Jaechul Lee [Tue, 28 Jun 2022 07:42:58 +0000 (16:42 +0900)]
tizenaudio-util: Fix loading errors

This patch fixes undefined symbol: pa_tz_util_pcm_open_by_*

[Version] 15.0.22
[Issue Type] Runtime error

Change-Id: I7c172938d4480348445458a56e1ba9a8ddf14de2
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agoImprove latency difference between reference and capture source 97/275797/12 submit/tizen/20220627.045454 submit/tizen/20220627.084702 submit/tizen/20220628.040455
Jaechul Lee [Thu, 2 Jun 2022 02:20:43 +0000 (11:20 +0900)]
Improve latency difference between reference and capture source

 * Not allow negative latency
 * Added mchstreamer specific code
 * Fixed build warning on aarch64

[Version] 15.0.21
[Issue Type] Improvement

Change-Id: Idd6c4337ec6567e52dd86bbca5c194a897804b43
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agoSupport external device playback and capture on sink2/source2 84/275684/10
Jaechul Lee [Fri, 3 Dec 2021 02:15:30 +0000 (11:15 +0900)]
Support external device playback and capture on sink2/source2

module-alsa-card tries to use 'device_id' that is from udev but
tizenaudio-sink2/source2 can't load devices with device_id.

This patch makes devices load with device_id and device_string both.

[Version] 15.0.20
[Issue Type] New feature

Change-Id: I2dcd7b4abdc88abacec5ba997050217c0c8bfc48
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
22 months agoRename __TIZEN_INTERNAL_BT_SCO__ to __TIZEN_TV_EXTERNAL_BT_SCO__ 84/276584/1 submit/test/20220628.062718 submit/test/20220628.063255 submit/tizen/20220628.063508
Sangchul Lee [Tue, 21 Jun 2022 08:05:56 +0000 (17:05 +0900)]
Rename __TIZEN_INTERNAL_BT_SCO__ to __TIZEN_TV_EXTERNAL_BT_SCO__

The 'external bt sco' feature is only for tv binary. So, the preprocessor
definition name is changed to have __TIZEN_TV_ prefix as well as to invert
the meaning of the previous name.

[Version] 15.0.19
[Issue Type] Rename

Change-Id: Iff1847574b925d8fb72efc3687f1926d3e110b8e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
22 months agodevice-manager: Add builtin tv-mic support 55/276255/11 accepted/tizen/unified/20220622.133914 submit/tizen/20220621.083533 submit/tizen/20220622.042441
Seungbae Shin [Mon, 13 Jun 2022 12:37:50 +0000 (21:37 +0900)]
device-manager: Add builtin tv-mic support

[Version] 15.0.18
[Issue Type] Improvement

Change-Id: If35aa1bffa27588629124e97bf7249688782d492

22 months agodevice-manager: avoid registering the built-in device if not loaded properly 39/276439/3
Seungbae Shin [Thu, 16 Jun 2022 14:48:35 +0000 (23:48 +0900)]
device-manager: avoid registering the built-in device if not loaded properly

Previously, it was shown that the built-in device exists even module is not loaded correctly.
Now, this change fixed that mismatch.

[Version] 15.0.17
[Issue Type] Bug

Change-Id: I6c78231e62c75ac759964697ee2e079a80bb58c3

23 months agoRevert "aec-manager: Add audio AEC manager" 41/275141/3
Jaechul Lee [Tue, 17 May 2022 06:41:12 +0000 (15:41 +0900)]
Revert "aec-manager: Add audio AEC manager"

This reverts commit f49985f02d8d1e49a4e2075f3b9f2d651c571770.

[Version] 15.0.16
[Issue Type] Cleanup

Change-Id: Ie7a9341ff90acd3aa26ed38d51ce140fffb02c0f

2 years agoSeparate tizenaudio-sink2 and module-tizenaudio-sink2 45/274345/4 accepted/tizen/unified/20220525.010010 submit/tizen/20220513.073133 submit/tizen/20220518.023609
Jaechul Lee [Tue, 30 Nov 2021 02:19:34 +0000 (11:19 +0900)]
Separate tizenaudio-sink2 and module-tizenaudio-sink2

pa_tizenaudio_source2_new/sink2_new were added in order to support usb
device playback/capture. These function will be called in
module-tizenaudio-sink2/source2 and module-alsa-card.

[Version] 15.0.15
[Issue Type] Improvement

Change-Id: Id1d2d852f4c8982ac4c622cd2d326589ca46ca69
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-echo-cancel: Fix coverity defect (Dereference null return value) 77/274477/2 accepted/tizen/unified/20220502.103120 submit/tizen/20220429.023726 submit/tizen/20220430.140348 submit/tizen/20220502.025101
Seungbae Shin [Fri, 29 Apr 2022 01:42:16 +0000 (10:42 +0900)]
tizenaudio-echo-cancel: Fix coverity defect (Dereference null return value)

[Version] 15.0.14
[Issue Type] Coverity

Change-Id: I69359a1fc8dfd988ab37cc24a9cc4f2f287396eb
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-sink/source: Fix crash when pulseaudio exit 20/273820/4 accepted/tizen/unified/20220425.133142 submit/tizen/20220425.051439
Jaechul Lee [Thu, 14 Apr 2022 06:00:24 +0000 (15:00 +0900)]
tizenaudio-sink/source: Fix crash when pulseaudio exit

 * Fix pulseaudio crash (pactl exit)
 * symbol mismatching(pa_processor_push_reference)
 * aarch64 build warning

[Version] 15.0.13
[Issue Type] Bug

Change-Id: I0d7f0d44a95cd9667746529ed1f03151ec92e64a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-echo-cancel: Fix UNINIT.LOCAL_VAR 30/274130/1 accepted/tizen/unified/20220424.221529 submit/tizen/20220422.071822
Jaechul Lee [Thu, 21 Apr 2022 08:15:38 +0000 (17:15 +0900)]
tizenaudio-echo-cancel: Fix UNINIT.LOCAL_VAR

This patch fixes the svace and convention issues

 * Fix svace issue
 * Relace echo with referece

[Version] 15.0.12
[Issue Type] SVACE

Change-Id: I8ebe7e724c090fc4ce8bfa120b0e596d95723a2d
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agosound-player: Fix INTEGER_OVERFLOW defect 77/274077/4
Seungbae Shin [Thu, 21 Apr 2022 03:52:07 +0000 (12:52 +0900)]
sound-player: Fix INTEGER_OVERFLOW defect

[Version] 15.0.11
[Issue Type] Svace

Change-Id: I224d3ac72c27a1b184baf72933bbe5618a073d45

2 years agotizenaudio-echo-cancel: Support reference raw copy functionality 08/273808/8 submit/tizen/20220421.081718
Jaechul Lee [Tue, 29 Mar 2022 08:06:43 +0000 (17:06 +0900)]
tizenaudio-echo-cancel: Support reference raw copy functionality

processing echo-cancellation in module-tizenaudio-echo-cancel moved to processor
modules for supporting reference copy.

 * created reference copy
 * removed delayq

[Version] 15.0.10
[Issue Type] New Feature

Change-Id: Id4529e7f6225b1c3f1d6e499bc915aaef1a940c5
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-echo-cancel: Find reference sink by proplist 21/272921/6 accepted/tizen/unified/20220418.141309 submit/tizen/20220413.095656
Jaechul Lee [Mon, 28 Mar 2022 02:20:50 +0000 (11:20 +0900)]
tizenaudio-echo-cancel: Find reference sink by proplist

[Version] 15.0.9
[Issue Type] New Feature

Change-Id: I28c7c2cb5a569f7f1159ee1a6aa2a4ede54ed0cc
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotones: Fix coverity issues 24/272924/3 accepted/tizen/unified/20220328.131520 submit/tizen/20220328.063649 submit/tizen/20220328.063710
Jaechul Lee [Mon, 28 Mar 2022 05:00:35 +0000 (14:00 +0900)]
tones: Fix coverity issues

The issue of coverity(1286168) was fixed

[Version] 15.0.8
[Issue Type] Coverity

Change-Id: I5eaaa3e59050963ad207634bae5a68631b9b286e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoAdd default_method to module parameters 83/272783/4
Jaechul Lee [Thu, 24 Mar 2022 07:57:45 +0000 (16:57 +0900)]
Add default_method to module parameters

Use default method that is configured at init function if
source-output's 'echo_cancel' property is set to 'default'

[Version] 15.0.7
[Issue Type] Improvement

Change-Id: I137282f954cd01b1eb5e08aedd3f2a5a075e74d6
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoFix coverity issues 16/272916/2 submit/tizen/20220328.024716
Jaechul Lee [Mon, 28 Mar 2022 02:33:13 +0000 (11:33 +0900)]
Fix coverity issues

The issue of coverity(1286103) was fixed

[Version] 15.0.6
[Issue Type] Coverity

Change-Id: I3e4b5ca2e925642cc4574136b07a3c736b9a2e69
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoSupport webrtc-audio-processsing echo-cancellation 99/272299/11
Jaechul Lee [Mon, 14 Mar 2022 06:29:30 +0000 (15:29 +0900)]
Support webrtc-audio-processsing echo-cancellation

[Version] 15.0.5
[Issue Type] New Feature

Change-Id: Ib3227c185779353747af7f930de13535988b467c
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoSupport stream-based echo-cancellation 98/272298/9 accepted/tizen/unified/20220325.133421 submit/tizen/20220324.031223
Jaechul Lee [Tue, 15 Mar 2022 02:17:22 +0000 (11:17 +0900)]
Support stream-based echo-cancellation

 * Added module-tizenaudio-echo-cancel (Supported adrian, speex)
 * Added processor module that processes resampled pcm data
 * Added a few messages in sink2/source2

[Version] 15.0.4
[Issue Type] New Feature

Change-Id: Ie6e8c3de0bf5fec20c3a087daf377fdcbd82303b
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-sink: Reset pollfd's revents after use 20/272120/1 accepted/tizen/unified/20220314.125239 submit/tizen/20220310.012845
jungsup lee [Mon, 21 Feb 2022 04:17:50 +0000 (13:17 +0900)]
tizenaudio-sink: Reset pollfd's revents after use

revents should be cleared after handling POLLERR. mainloop send a lot of
async message to I/O thread that is stucking on writing pcm. After that,
I/O thread couldn't call poll api because of handling asyncq message.

[Version] 15.0.3
[Issue Type] Bug fix

Change-Id: Ib806cdd77a86fae648b08a5b5e1edc1ed60fbec5
Signed-off-by: jungsup lee <jungsup4.lee@samsung.com>
2 years agodevice-manager: Add null check in handle_device_connected() 68/271568/1 accepted/tizen/unified/20220224.125721 submit/tizen/20220224.015132
Sangchul Lee [Wed, 23 Feb 2022 05:40:50 +0000 (14:40 +0900)]
device-manager: Add null check in handle_device_connected()

When the last parameter of handle_device_connected() is NULL,
it gets the required structure again from the list referring to
device-map.json. The result is checked now to avoid unwanted
assertion by other functions.

[Version] 15.0.2
[Issue Type] Improvement

Change-Id: Id3c07d579b1d273386a6eab2e6618abf27baabf8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodevice-manager: Fix svace issues (DEREF_OF_NULL.RET.STAT) 23/271523/3 accepted/tizen/unified/20220223.132451 submit/tizen/20220222.235015
Seungbae Shin [Tue, 22 Feb 2022 10:34:43 +0000 (19:34 +0900)]
device-manager: Fix svace issues (DEREF_OF_NULL.RET.STAT)

- Add null check for pulse_device_get_proplist()
- Use foreach macro for dynarray on handle_internal_pulse_device()
- Remove unnecessary braces
- Fix some invalid indents
- Revise some code format

[Version] 15.0.1
[Issue Type] Svace

Change-Id: I9ae16c35194f94633063b38b49ff133d9372538d

2 years agoFix for pulseaudio 15.0 upgrade 73/268573/2 accepted/tizen/unified/20220201.130257 submit/tizen/20220124.093031 submit/tizen/20220126.072709 submit/tizen/20220127.065238 submit/tizen/20220131.145029
Seungbae Shin [Mon, 27 Dec 2021 05:56:49 +0000 (14:56 +0900)]
Fix for pulseaudio 15.0 upgrade

[Version] 15.0.0
[Issue Type] Core Upgrade

Change-Id: Ie55fa522a3d1e08c8e898ce626a1a199c0f994e6

2 years agostream-manager: Deactivate ducking for audio HAL when stream ducking is removed 31/268631/1 accepted/tizen/unified/20220105.120700 submit/tizen/20211228.092154 submit/tizen/20220104.113205
Jeongmo Yang [Tue, 28 Dec 2021 05:36:01 +0000 (14:36 +0900)]
stream-manager: Deactivate ducking for audio HAL when stream ducking is removed

Previously, deactivation ducking for audio HAL could be missed.

[Version] 13.0.81
[Issue Type] Bug fix

Change-Id: Ide1206dc98f1dd354cb23e6c8cf06361a1d815e3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agodevice-manager: use container dedicated device-map json 10/265710/2 accepted/tizen/unified/20211101.140211 submit/tizen/20211029.025659 submit/tizen/20211101.022013
Seungbae Shin [Wed, 27 Oct 2021 10:48:01 +0000 (19:48 +0900)]
device-manager: use container dedicated device-map json

[Version] 13.0.80
[Issue Type] Container

Change-Id: If81c7aed340369e451980142d7c677ff22053f98

2 years agoFix coverity issues (CHECKED_RETURN / PW.PARAMETER_HIDDEN) 01/265501/2 accepted/tizen/unified/20211029.132606 submit/tizen/20211021.035233
Seungbae Shin [Thu, 21 Oct 2021 02:33:28 +0000 (11:33 +0900)]
Fix coverity issues (CHECKED_RETURN / PW.PARAMETER_HIDDEN)

+ Fix minor aarch64 build warning

[Version] 13.0.79
[Issue Type] Build

Change-Id: Ie7ed49cf73beb95ce5db332d6595aa6c6def27ab

2 years agotizenaudio-sink: Print log when snd_pcm_avail() return small value continuously 99/265299/2 submit/tizen/20211015.121039
jungsup lee [Thu, 14 Oct 2021 08:33:19 +0000 (17:33 +0900)]
tizenaudio-sink: Print log when snd_pcm_avail() return small value continuously

[Version] 13.0.78
[Issue Type] Debugging

Change-Id: I982d1ee7cf7a5d0546902aec9f7a498278b4014a

2 years agoFix DEREF_OF_NULL.RET.PROC.STAT 99/264599/4 submit/tizen/20210927.080426 submit/tizen/20210928.015557 submit/tizen/20210929.043812 submit/tizen/20211005.003737
Jaechul Lee [Mon, 27 Sep 2021 05:58:18 +0000 (14:58 +0900)]
Fix DEREF_OF_NULL.RET.PROC.STAT

[Version] 13.0.77
[Issue Type] VD svace DF210918-00186

Change-Id: I21b72e6fd96ab07521cb807bc26c44e148c00162
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoFix aarch64 build warnings 74/264574/2
Seungbae Shin [Fri, 24 Sep 2021 12:27:12 +0000 (21:27 +0900)]
Fix aarch64 build warnings

Fixes following warnings:

- cast to pointer from integer of different size [-Wint-to-pointer-cast]
- format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'pa_usec_t' {aka 'long unsigned int'} [-Wformat=]
- format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]

[Version] 13.0.76
[Issue Type] Build

Change-Id: I55a043c48107c3a3c6bf71cbb8b81f54c504180d

2 years agosound-player: fix memory leak in case of stopping playback 09/264509/3 accepted/tizen/6.5/unified/20211028.123509 accepted/tizen/unified/20210926.235653 submit/tizen/20210924.075945 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
Seungbae Shin [Thu, 23 Sep 2021 12:25:03 +0000 (21:25 +0900)]
sound-player: fix memory leak in case of stopping playback

eos signal with the cause must be sent to client to make proper subscription release

[Version] 13.0.75
[Issue Type] Bug fix

Change-Id: Id318f1a4d18eafeea4e343eef6c02ee63ca2960f

2 years agotizenaudio-sink2/source2: Fix frames_to_write calculation 77/263677/3
Jaechul Lee [Wed, 8 Sep 2021 04:49:32 +0000 (13:49 +0900)]
tizenaudio-sink2/source2: Fix frames_to_write calculation

[Version] 13.0.74
[Issue Type] Bug fix

Change-Id: Ida9fcab0c380fc71125f64dc90d8a186840f40ae
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agodevice-manager: Fix svace defect (DEREF_OF_NULL.RET.PROC.STAT) 55/263855/1 accepted/tizen/unified/20210913.123311 submit/tizen/20210913.003246
Seungbae Shin [Mon, 13 Sep 2021 00:16:49 +0000 (09:16 +0900)]
device-manager: Fix svace defect (DEREF_OF_NULL.RET.PROC.STAT)

[Version] 13.0.73
[Issue Type] Svace

Change-Id: If07027bfc1f37a296aedf440e03fa04040c42ad1

2 years agodevice-manager-dbus: always place bt-sco device at first in device list 79/263679/3 submit/tizen/20210910.035514
jungsup lee [Wed, 8 Sep 2021 04:54:40 +0000 (13:54 +0900)]
device-manager-dbus: always place bt-sco device at first in device list

[Version] 13.0.72
[Issue Type] Improvement

Change-Id: I15efd7b12c48a3278ad64e9fdb7a2f409cf4183f

2 years agoMerge "device-manager: Support to load sink2/source2" into tizen accepted/tizen/unified/20210907.015403 submit/tizen/20210906.133545
jaechul lee [Mon, 6 Sep 2021 06:33:40 +0000 (06:33 +0000)]
Merge "device-manager: Support to load sink2/source2" into tizen

2 years agosupport external bt-sco device for tv 07/255207/8 accepted/tizen/unified/20210829.234912 submit/tizen/20210827.174915
Seungbae Shin [Mon, 15 Mar 2021 07:45:23 +0000 (16:45 +0900)]
support external bt-sco device for tv

[Version] 13.0.71
[Issue Type] Improvement

Change-Id: Ic9d3d00c5a48e319203468550efa5fb40f6f243d

2 years agodevice-manager: Support to load sink2/source2 02/262502/9
Jaechul Lee [Thu, 12 Aug 2021 05:45:46 +0000 (14:45 +0900)]
device-manager: Support to load sink2/source2

pulseaudio tries to load tizenaudio-sink2/source2 instead of
tizenaudio-sink/source if 'tizen2' keyword is found in device-map file.

[Version] 13.0.71
[Issue Type] Improvement

Change-Id: Ie9c67f4888fb628961811d906e4d6c396700b14e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-source2: Use hardware interrupt for capture 54/262354/2
Jaechul Lee [Mon, 9 Aug 2021 03:41:48 +0000 (12:41 +0900)]
tizenaudio-source2: Use hardware interrupt for capture

* Remove unused arguments
* Use fixed latency
* Use poll event

[Version] 13.0.70
[Issue Type] Improvement

Change-Id: I8be80005a1f8f5ec0e126c76fc54253e2510ea17
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agotizenaudio-sink2: Use hardware interrupt for playback 89/262189/5
Jaechul Lee [Wed, 4 Aug 2021 01:01:56 +0000 (10:01 +0900)]
tizenaudio-sink2: Use hardware interrupt for playback

 * Remove unused arguments (block_msec, max_request_msec)
 * Use fixed latency
 * Use poll event

[Version] 13.0.69
[Issue Type] Improvement

Change-Id: I404474e0da9837df6fc202cc793af0b5d2c6d799
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agodevice-manager: remove checking module arguments 92/262192/5
Jaechul Lee [Fri, 30 Jul 2021 04:45:30 +0000 (13:45 +0900)]
device-manager: remove checking module arguments

The comparison of the mod args would be failed if unknown args in
device-manager are added like 'echo=1' and it doesn't need to check
module args validation because each module already checks it.

All arguments would be parsed in case of passing NULL.

[Version] 13.0.68
[Issue Type] Improvement

Change-Id: I2be900ef82ecdedc5c181bdc919cd439d0a4b67d
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
2 years agoAdd module-tizenaudio-sink2/source2 57/262057/3
Jaechul Lee [Mon, 2 Aug 2021 05:47:18 +0000 (14:47 +0900)]
Add module-tizenaudio-sink2/source2

module-tizenaudio-sink2/source2 that are copies of
tizenaudio-sink/source without AEC parts were added for a experimental
functionality such as mmap, echo cancel, and non-interleave.

Change-Id: I09588a5d90737da6e2ee9c8b3fd574db012e71f5
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>