platform/core/multimedia/pulseaudio-modules-tizen.git
5 years agodevice-manager: Add Dbus interfaces related to sample format of usb device 32/182832/3
Sangchul Lee [Thu, 28 Jun 2018 08:19:54 +0000 (17:19 +0900)]
device-manager: Add Dbus interfaces related to sample format of usb device

Methods are added as below
 - GetSupportedSampleFormats
    : arg#1 (in)  int32 for device_id
      arg#2 (out) string array for sample_formats
 - SetSampleFormat
    : arg#1 (in)  int32 for device_id
      arg#2 (in)  string for sample_format
 - GetSampleFormat
    : arg#1 (in)  int32 for device_id
      arg#2 (out) string for sample_format

Those APIs are only for usb output device.

[Version] 11.1.15
[Issue Type] New feature

Change-Id: I07e42098fabcf2d4ea8efe486c1da63da3741722
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
5 years agodevice-manager: Fix to avoid assertion if the device type is not valid 73/183473/1
Sangchul Lee [Thu, 5 Jul 2018 03:15:41 +0000 (12:15 +0900)]
device-manager: Fix to avoid assertion if the device type is not valid

[Version] 11.1.14
[Issue Type] Enhancement

Change-Id: I20fac43a9fee73eb20fcbf309c0c6a9bbc6bdd34
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
5 years agoFix SVACE defects 37/183037/5 accepted/tizen/unified/20180703.062143 submit/tizen/20180702.071334 submit/tizen/20180702.102759
Seungbae Shin [Mon, 2 Jul 2018 02:29:06 +0000 (11:29 +0900)]
Fix SVACE defects

[Version] 11.1.13
[Issue Type] SVACE

Change-Id: I0daf43bcc7ab9c83a0f507eccd6fd8e2ff46624e

5 years agoFix use-after-free bug for idxset free 47/182447/3 submit/tizen/20180626.020615
Seungbae Shin [Mon, 25 Jun 2018 08:02:12 +0000 (17:02 +0900)]
Fix use-after-free bug for idxset free

[Version] 11.1.12
[Issue Type] Bug Fix

Change-Id: I342a61f69fd7f0705509f785dd82652839514262

6 years agodevice-manager, stream-manager: Add to check valid stream role 00/179200/3 accepted/tizen/unified/20180611.015423 submit/tizen/20180607.021137
Sangchul Lee [Wed, 16 May 2018 08:14:02 +0000 (17:14 +0900)]
device-manager, stream-manager: Add to check valid stream role

pa_stream_manager_is_valid_stream_role() is added.

[Version] 11.1.11
[Issue Type] Enhancement

Change-Id: I9448722e66212ca26c6d09f9e645f0ad8717ab67
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agostream-manager: Change functions of init/done to get/ref/unref 99/179199/3
Sangchul Lee [Wed, 16 May 2018 08:13:21 +0000 (17:13 +0900)]
stream-manager: Change functions of init/done to get/ref/unref

[Version] 11.1.10
[Issue Type] Enhancement

Change-Id: I08024adfefe376043293c38c9dbedf4f0a69f539
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Check specified stream role to skip selecting in case of usb device 11/178911/4
Sangchul Lee [Mon, 14 May 2018 03:27:36 +0000 (12:27 +0900)]
tizenaudio-policy: Check specified stream role to skip selecting in case of usb device

[Version] 11.1.9
[Issue Type] New feature

Change-Id: I89f6aba8c6ab9bdf2ccd5aa6cc55c7cf183274b7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agodevice-manager: Add Dbus interfaces to specify stream role to usb device 10/178910/4
Sangchul Lee [Fri, 11 May 2018 07:58:32 +0000 (16:58 +0900)]
device-manager: Add Dbus interfaces to specify stream role to usb device

Methods are added as below
 - SetSpecificStreamOnly
    : arg#1 (in)  int32 for device_id
      arg#2 (in)  string for stream_role
 - GetSpecifiedStream
    : arg#1 (in)  int32 for device_id
      arg#2 (out) string for stream_role

This information will be used in policy logic to determine which
stream is available for the usb device according to the value.

pa_tz_device_get_specified_stream_role() is also added in tizen-device.c

[Version] 11.1.8
[Issue Type] New feature

Change-Id: I63cbf5e386ab6863c30a6791e4c158cb8eb8c616
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agodevice-manager: Add Dbus interfaces related to sample rate of usb device 09/178909/3
Sangchul Lee [Fri, 11 May 2018 01:44:57 +0000 (10:44 +0900)]
device-manager: Add Dbus interfaces related to sample rate of usb device

Methods are added as below
 - GetSupportedSampleRates
    : arg#1 (in)  int32 for device_id
      arg#2 (out) uint32 array for sample_rates
 - SetSampleRate
    : arg#1 (in)  int32 for device_id
      arg#2 (in)  uint32 for sample_rate
 - GetSampleRate
    : arg#1 (in)  int32 for device_id
      arg#2 (out) uint32 for sample_rate

1. Those APIs are only for usb output device.
2. Here's description about setting sample rate to '0'.
 If sample rate is set to '0', it will work to use stream's original sample
 rate if the usb device supports the sample rate. In this case, if the
 stream's sample rate is lower than default and alternate sample rate of
 pulseaudio configuration, it will use the default or the alternate sample
 rate. When mixing case happens in the same usb device, the sample rate of
 the prior stream will be maintained.

[Version] 11.1.7
[Issue Type] New feature

Change-Id: I7f82d5aefbc84e0641fc05dab86bc89def897c66
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizen-device: Add to initialize related member variable of sink/source before freeing... 73/180573/1 submit/tizen/20180531.062400
Sangchul Lee [Thu, 31 May 2018 02:55:45 +0000 (11:55 +0900)]
tizen-device: Add to initialize related member variable of sink/source before freeing device

[Version] 11.1.6
[Issue Type] Bug fix

Change-Id: Ifd0f354e82b3c96ccf7ccb34f87308e00ae5183a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoReplace mm-hal-interface by mm-hal-interface-devel 90/177290/1 accepted/tizen/unified/20180427.131016 submit/tizen/20180427.022926 submit/tizen/20180430.020534
Jeongmo Yang [Fri, 27 Apr 2018 01:23:41 +0000 (10:23 +0900)]
Replace mm-hal-interface by mm-hal-interface-devel

- The header files have been moved to mm-hal-interface-devel package

[Version] 11.1.5-1
[Issue Type] Build

Change-Id: Icdddca03bf7b27dc3cf656d1a0188026dc83cb5a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix for coverity defects 96/176796/1 accepted/tizen/unified/20180424.165708 submit/tizen/20180424.040057
Seungbae Shin [Mon, 23 Apr 2018 11:38:59 +0000 (20:38 +0900)]
Fix for coverity defects

[Version] 11.1.5
[Issue Type] Security

Change-Id: I8b22ee1451f91e294e59e07d33ac53cb7208a27e

6 years agoFix for TV product build macro 77/176777/1
Seungbae Shin [Mon, 23 Apr 2018 10:15:40 +0000 (19:15 +0900)]
Fix for TV product build macro

[Version] 11.1.4
[Issue Type] Build

Change-Id: I285976c73c3716bf12c280e67d002df53bfcd628

6 years agodevice-manager: Skip notifying change of running state in case of null sink/source... 50/176550/1 accepted/tizen/unified/20180420.152047 submit/tizen/20180420.042319
Sangchul Lee [Fri, 20 Apr 2018 03:22:17 +0000 (12:22 +0900)]
device-manager: Skip notifying change of running state in case of null sink/source explicitly.

null sink/source can not be represented as a device of device-manager.

[Version] 11.1.3
[Issue Type] Bug fix

Change-Id: I7e3d353acd703e1da754fd83e374bba33e14b02c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoFix json-c depreacted macro (is_error) usage. 40/176440/1 submit/tizen/20180419.083101
Seungbae Shin [Thu, 19 Apr 2018 08:00:19 +0000 (17:00 +0900)]
Fix json-c depreacted macro (is_error) usage.

[Version] 11.1.2
[Issue Type] Deprecation

Change-Id: I7c21aaf4af36b5de3eeadc17182eaf616b1ffd28

6 years agostream-manager-dbus: Remove codes regarding session backward compatibility 91/174591/1
Sangchul Lee [Tue, 3 Apr 2018 05:06:06 +0000 (14:06 +0900)]
stream-manager-dbus: Remove codes regarding session backward compatibility

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

Change-Id: If5dec7bc5c8dd95a3c0586c8e0bec1018de093d0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoModification for core version upgrade 05/167605/6 accepted/tizen/unified/20180227.062920 submit/tizen/20180226.072000
Seungbae Shin [Thu, 18 Jan 2018 14:36:01 +0000 (23:36 +0900)]
Modification for core version upgrade

[Version] 11.1.0
[Issue Type] Core Upgrade

Change-Id: I80c07bc225b5d732900610d5d0e06d036d83c424

6 years agoAdd support for new device state for running 01/157801/2 accepted/tizen/unified/20171108.063450 submit/tizen/20171107.074009
Sangchul Lee [Tue, 26 Sep 2017 00:40:23 +0000 (09:40 +0900)]
Add support for new device state for running

This new state represents if a device is running or not.
If a stream is though a device, the state of the device will be changed to
the running state. Notifications regarding this are provided as well.

[Version] 5.0.176
[Issue Type] New feature

Change-Id: I8e5cad3e47b1e31e21c230985ab721e23afdaad0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoFix Coverity Defects 25/156625/1 accepted/tizen/unified/20171020.091646 submit/tizen/20171018.063752 submit/tizen/20171019.095903
Seungbae Shin [Thu, 19 Oct 2017 07:19:49 +0000 (16:19 +0900)]
Fix Coverity Defects

[Version] 5.0.175
[Issue Type] Security

Change-Id: I90606af4387eb473c9edc8fa3b892d0bfde85074

6 years agodevice-manager: Update sco open state in dbus_filter_device_detect_handler() 76/155476/1 accepted/tizen/unified/20171013.193030 submit/tizen/20171012.130939
Sangchul Lee [Fri, 13 Oct 2017 07:48:36 +0000 (16:48 +0900)]
device-manager: Update sco open state in dbus_filter_device_detect_handler()

[Version] 5.0.174
[Issue Type] Enhancement

Change-Id: I0440b19f10512d3a97922fe89fa9bfac035b411a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 5c9e9e625ff1e3e7317ee420dfd28a68cb847516)

6 years agoFix Coverity Defects 55/154555/5
Seungbae Shin [Tue, 10 Oct 2017 12:10:07 +0000 (21:10 +0900)]
Fix Coverity Defects

[Version] 5.0-173
[Issue Type] Security

Change-Id: Ic9eb88001ad3de157ea4940bce64a7f79609a12b

6 years agodelay, filter: Fix svace issues 60/150660/1 accepted/tizen/unified/20170921.071941 submit/tizen/20170920.100911
Sangchul Lee [Mon, 18 Sep 2017 07:24:24 +0000 (16:24 +0900)]
delay, filter: Fix svace issues

Add null checking codes after calloc()

[Version] 5.0.172
[Issue Type] Enhancement

Change-Id: Iee592d191770289b84436b0e9adc65dcf3798fc9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agodevice-manager: Notify bluetooth asynchronous information for SCO to HAL 57/149257/1 accepted/tizen/unified/20170914.154136 submit/tizen/20170913.051034
Sangchul Lee [Fri, 8 Sep 2017 01:13:55 +0000 (10:13 +0900)]
device-manager: Notify bluetooth asynchronous information for SCO to HAL

Values of 'bt-wideband','bt-nrec','bt-sco-ready' are forwarded to audio HAL

[Version] 5.0.171
[Issue Type] Enhancement

Change-Id: Ifdb28887b5d44aafe3eaf121d2463b6a2bf24c81
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agostream-manager: Call pa_hal_interface_update_route_option() even if there's no occupi... 71/146471/1 accepted/tizen/unified/20170901.201017 submit/tizen/20170901.030803
Sangchul Lee [Mon, 28 Aug 2017 07:19:26 +0000 (16:19 +0900)]
stream-manager: Call pa_hal_interface_update_route_option() even if there's no occupied stream

[Version] 5.0.170
[Issue Type] Enhancement

Change-Id: Iba0b4fc98a5c2f05374498ed18ca3efe58224ab9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agodevice-manager: fix invalid appending of DBusMessageIter in handle_get_device_id() 79/144579/1 accepted/tizen/unified/20170828.164203 submit/tizen/20170828.011335
Sangchul Lee [Thu, 17 Aug 2017 07:23:16 +0000 (16:23 +0900)]
device-manager: fix invalid appending of DBusMessageIter in handle_get_device_id()

It seems copy & paste error of the previous commit
 - device-manager: Add vendor/product id for USB device
 - fbcd30939c27a2154c430b1df4c5568e115107f0

[Version] 5.0.169
[Issue Type] Bug fix

Change-Id: Id00147f54eebe397c94053e696d9370d045ee59c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agostream-manager: Add Dbus method to update call parameters 83/143183/6
Sangchul Lee [Wed, 9 Aug 2017 02:36:42 +0000 (11:36 +0900)]
stream-manager: Add Dbus method to update call parameters

  server          : org.pulseaudio.Server
  object path     : /org/pulseaudio/StreamManager
  interface       : org.pulseaudio.StreamManager
  method name     : UpdateCallParameters
  method argument : string for parameters
  return value    : string for return message
                    - success              : "STREAM_MANAGER_RETURN_OK"
                    - no call stream error : "STREAM_MANAGER_RETURN_ERROR_NO_STREAM"
                    - internal error       : "STREAM_MANAGER_RETURN_ERROR_INTERNAL"

[Version] 5.0.168
[Issue Type] New feature

Change-Id: Ie42c240ba0dcf3c62367f15a1ff45aaa330e9db3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Support BT-SCO device for voice-information role 37/142137/2 accepted/tizen/4.0/unified/20170829.020134 accepted/tizen/unified/20170804.133301 submit/tizen/20170804.052139 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Sangchul Lee [Thu, 3 Aug 2017 00:40:25 +0000 (09:40 +0900)]
tizenaudio-policy: Support BT-SCO device for voice-information role

A stream which has voice-information role can open BT-SCO actively
only if A2DP is not available while SCO is available now.

[Version] 5.0.167
[Issue Type] Enhancement

Change-Id: I676936aae44f241e594782c22863ae662db8ece4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Invoke additional Dbus method of BT framework for voice-recognitio... 47/141547/6
Sangchul Lee [Mon, 31 Jul 2017 02:03:12 +0000 (11:03 +0900)]
tizenaudio-policy: Invoke additional Dbus method of BT framework for voice-recognition role

method name: "SetVoiceDial"

[Version] 5.0.166
[Issue Type] Enhancement

Change-Id: I38ba94b913d251d8c6983e20587493e62077f155
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Do not go forward if audio hal is not ready 54/139954/2 accepted/tizen/4.0/unified/20170816.012503 accepted/tizen/unified/20170724.020314 submit/tizen/20170721.075214 submit/tizen_4.0/20170811.094300
Sangchul Lee [Fri, 21 Jul 2017 06:35:49 +0000 (15:35 +0900)]
tizenaudio-policy: Do not go forward if audio hal is not ready

Some codes are also enhanced to forward error properly.

[Version] 5.0.165
[Issue Type] Enhancement

Change-Id: I0cd22638b04779de826b66e9d48e60ee14cf2c80
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Revise logs 50/139750/2
Sangchul Lee [Thu, 20 Jul 2017 09:01:17 +0000 (18:01 +0900)]
tizenaudio-policy: Revise logs

Remove function name in logs.
Revise printing log format.

[Version] 5.0.164
[Issue Type] Log

Change-Id: Ia8c0f66f669382c98674e4b9e7fefe0eaf85a3f9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Support to open Bluetooth SCO link with voice-recognition role 90/139190/1
Sangchul Lee [Tue, 18 Jul 2017 01:10:43 +0000 (10:10 +0900)]
tizenaudio-policy: Support to open Bluetooth SCO link with voice-recognition role

It is added to close the SCO link after 3 seconds from the request if there's no
remain stream. Also, voice-information can sound out via Bluetooth SCO link only if
'bt-sco' device is in available device lists and the SCO is already opened.

[Version] 5.0.163
[Issue Type] Enhancement

Change-Id: I8342b1424b163f1f93ebf0e40d80d89733c4c551
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Remove temporary codes and correct mistypo 85/138685/3
Sangchul Lee [Thu, 13 Jul 2017 08:05:46 +0000 (17:05 +0900)]
tizenaudio-policy: Remove temporary codes and correct mistypo

[Version] 5.0.162
[Issue Type] Refactoring

Change-Id: Ibea5528b2aef5fd437c43c66d8649e6ebabececb
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoAdd LADSPA plugins which are from example plugins of LADSPA SDK 01/138401/4
Sangchul Lee [Wed, 12 Jul 2017 05:57:33 +0000 (14:57 +0900)]
Add LADSPA plugins which are from example plugins of LADSPA SDK

'filter.so' for simple low pass filter and simple high pass filter
'delay.so' for simple delay line.(delay time up to 5 seconds)

refer to : http://www.ladspa.org/ladspa_sdk/example_plugins.html

[Version] 5.0.161
[Issue Type] New feature

Change-Id: I4b5b33261b989742f6d61f234cf4d26af272aa7c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agostream-manager: Update filter parameters to filter_info structure and to each stream... 99/138399/6
Sangchul Lee [Tue, 11 Jul 2017 07:57:04 +0000 (16:57 +0900)]
stream-manager: Update filter parameters to filter_info structure and to each stream in case of changing control value

Previously, filter_info was not updated even after changing control value. So if a stream which
should be applied with the filter is created, the last control value was not applied.
Also, filter apply parameters property of a stream was not updated with changing control value.
Now these things are fixed.

[Version] 5.0.160
[Issue Type] Enhancement

Change-Id: I101becfe9a23c888bf311e9e2534775927e23a6c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoSet volume vconf in dbus method hander instead of libmm-sound 20/136920/6 accepted/tizen/unified/20170717.021041 submit/tizen/20170713.021221
Seungbae Shin [Mon, 3 Jul 2017 12:27:15 +0000 (21:27 +0900)]
Set volume vconf in dbus method hander instead of libmm-sound

[Version] 5.0.159
[Issue Type] Enhancement

Change-Id: Id3b0e678b63014932c97ebfb25eeb9fe33129847

6 years agostream-manager: Add support for filter modules for compatibility with tizen routing... 65/137265/6
Sangchul Lee [Wed, 5 Jul 2017 05:29:12 +0000 (14:29 +0900)]
stream-manager: Add support for filter modules for compatibility with tizen routing policy

Now it considers streams using filter modules in terms of audio routing
so that these streams can sound out properly according to device connecetion changes.

[Version] 5.0.158
[Issue Type] Enhancement

Change-Id: I5ebf3a101646d111ee22678c6c494e78f9f33ea6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-sink: add 'block_msec', 'max_request_msec' arguments 56/136456/1
KimJeongYeon [Wed, 28 Jun 2017 00:28:26 +0000 (09:28 +0900)]
tizenaudio-sink: add 'block_msec', 'max_request_msec' arguments

[Version] 5.0.157
[Profile] Common
[Issue Type] Refactoring

Changes:
* Move 'block_usec', 'max_request' variables to module's arguments.
  Currently, BLOCK_USEC, MAX_REQUEST_USEC values are depend on devices.
  I think that management would be much easier, if they move to module's arguments.
  Because, easy to modify these arguments at 'device-map.json' configuration file.

* Reduce default 'block_usec'.
  To optimize latency configuration, decrease block_usec 64 -> 50 msec.
  That means tizenaudio-sink trying to keep buffer amount of 50msec.

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I985274d9cdcc941209946e88a00cb1fbcf5f2166

6 years agostream-manager: Separate dbus functions to another file 94/135694/2 accepted/tizen/unified/20170627.071446 submit/tizen/20170626.070954
Sangchul Lee [Mon, 26 Jun 2017 02:48:18 +0000 (11:48 +0900)]
stream-manager: Separate dbus functions to another file

stream-manager-dbus.c and stream-manager-dbus-priv.h are added.
change the order of arguments of some functions.

[Version] 5.0.156
[Profile] Common
[Issue Type] Refactoring

Change-Id: I641b960c89a410530e103269c42f0075439acb77
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agotizenaudio-policy: Refactor codes 21/135421/5
Sangchul Lee [Thu, 22 Jun 2017 07:14:06 +0000 (16:14 +0900)]
tizenaudio-policy: Refactor codes

Add/use inline function and internal functions.

[Version] 5.0.155
[Profile] Common
[Issue Type] Refactoring

Change-Id: I2e666d5d1c887fb7da1580a71034777d38e63827

6 years agotizenaudio-sink: optimize amount of 'max_request' 29/134229/4
KimJeongYeon [Thu, 15 Jun 2017 09:19:19 +0000 (18:19 +0900)]
tizenaudio-sink: optimize amount of 'max_request'

[Version] 5.0.154
[Profile] Common
[Issue Type] Latency improvement

tizenaudio-sink consume maximum 32ms every requesting from driver.
Therefore, I assume that the 'max_request' is able to reduce until 32ms.
This patch related with 'loopback: apply official patchset'.
(Commit: 8c9407a79e8254f3d85f1cc51ad0c6ab48199250)

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Iaf34b94ef3472e5d998437f236847291b6afbff5

6 years agotizenaudio-policy: Fix to set active device type to stream property properly in case... 32/134832/1
Sangchul Lee [Tue, 20 Jun 2017 06:33:44 +0000 (15:33 +0900)]
tizenaudio-policy: Fix to set active device type to stream property properly in case of AUTO_LAST_CONNECTED routing type

[Version] 5.0.153
[Profile] Common
[Issue Type] Bug fix

Change-Id: If1324b19a610909ec9ea8f0054dde30ff71d3177
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agodevice-manager: Add vendor/product id for USB device 07/133507/1 accepted/tizen/unified/20170630.082941 submit/tizen/20170614.022225
Jeongho Mok [Mon, 12 Jun 2017 07:41:14 +0000 (16:41 +0900)]
device-manager: Add vendor/product id for USB device

[Version] 5.0.152
[Profile] Common
[Issue Type] New Feature

Change-Id: I48d2bbffe927da1c815db012b6273cff29be6438

7 years agodevice-manager: add dbus method to get device by id 36/131636/4 accepted/tizen/unified/20170605.150758 submit/tizen/20170602.051157
Jeongho Mok [Tue, 30 May 2017 03:57:57 +0000 (12:57 +0900)]
device-manager: add dbus method to get device by id

[Version] 5.0.151
[Profile] Common
[Issue Type] New Feature

Change-Id: I718c04646d4bcfaa2da07bc32211c0508bcb0522

7 years agostream-manager: update interface between stream-manager and module-filter-apply. 14/125114/3 accepted/tizen/unified/20170531.082628 submit/tizen/20170526.083733
KimJeongYeon [Fri, 14 Apr 2017 01:20:04 +0000 (10:20 +0900)]
stream-manager: update interface between stream-manager and module-filter-apply.

[Version] 5.0.150
[Profile] Common
[Issue Type] New Feature

* Some proplist of module-filter-apply have changed at commit 04d65f9b15.
  According to the changes, stream-manager-filter.c need to update together.
* Minor code refactoring.

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ie79419adbe7bcfb85f9eea3987f7f8fefc861a8f

7 years agotizenaudio-policy: Forward error in case of bluetooth SCO open failure 11/128511/2 accepted/tizen/unified/20170511.173102 submit/tizen/20170511.042527 tizen_4.0.m1_release
Sangchul Lee [Wed, 10 May 2017 08:36:54 +0000 (17:36 +0900)]
tizenaudio-policy: Forward error in case of bluetooth SCO open failure

[Version] 5.0.149
[Issue Type] Enhancement

Change-Id: I3c0f95d18dbc91f38e3844e87a14b782bbf39ec9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Enhance error handling in handle_set_stream_route_devices() 02/128502/4
Sangchul Lee [Wed, 10 May 2017 06:24:42 +0000 (15:24 +0900)]
stream-manager: Enhance error handling in handle_set_stream_route_devices()

[Version] 5.0.148
[Issue Type] Enhancement

Change-Id: I6508166f096188a6c30fe2410afba546c9c999e7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Remove useless codes 24/128424/1
Sangchul Lee [Wed, 10 May 2017 03:04:46 +0000 (12:04 +0900)]
stream-manager: Remove useless codes

[Version] 5.0.147
[Profile] Common
[Issue Type] Code cleanup

Change-Id: I48ba46879a14cd60106e45828cbe957f303feb0c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Add more conditions in CheckStreamExistByPid Dbus method 23/128423/1
Sangchul Lee [Fri, 21 Apr 2017 07:24:01 +0000 (16:24 +0900)]
stream-manager: Add more conditions in CheckStreamExistByPid Dbus method

Added conditions to comply session backward compatibility.
 - exclude openAL
 - check client pid of muse-server also

[Version] 5.0.146
[Profile] Common
[Issue Type] Backward compatibility

Change-Id: Id60c83fb814004be86fecb031da73414b27e37ae
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Add new DBus method to check if there is a running stream created... 22/128422/1
Sangchul Lee [Thu, 20 Apr 2017 01:44:13 +0000 (10:44 +0900)]
stream-manager: Add new DBus method to check if there is a running stream created by the specific process id

  server          : org.pulseaudio.Server
  object path     : /org/pulseaudio/StreamManager
  interface       : org.pulseaudio.StreamManager
  method name     : CheckStreamExistByPid
  method argument : #1 uint32 for process id
                    #2 string for stream_type
                    #3 string for direction ("in" or "out")
  return value    : string for return message
                      - existace     : "STREAM_MANAGER_RETURN_OK"
                      - no existance : "STREAM_MANAGER_RETURN_ERROR_NO_STREAM"
                      - error        : "STREAM_MANAGER_RETURN_ERROR"

[Version] 5.0.145
[Profile] Common
[Issue Type] New API

Change-Id: Ia0c5b8bfcc9476c36880420f6a4244ac7dce22b0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agodevice-manager: not use uninitialized value 71/122971/1 accepted/tizen/unified/20170406.055033 submit/tizen/20170405.072228
Jeongho Mok [Tue, 4 Apr 2017 05:51:08 +0000 (14:51 +0900)]
device-manager: not use uninitialized value

Change-Id: I9ae9ad085f08532d5a56c9d779ce6ba1e31578fa

7 years agostream-manager: support sound filter using module-filter-apply 97/87397/49
KimJeongYeon [Wed, 7 Sep 2016 06:55:11 +0000 (15:55 +0900)]
stream-manager: support sound filter using module-filter-apply

Provide support to manage sound filters to given stream type and group.
Suggested to use module-filter-apply module to load filter sinks.
(e.g module-ladspa-sink, module-virtual-surround-sink, ...)
Also, this patch provides a method to control filter parameters.

[Version] 5.0.144
[Profile] Common
[Issue Type] New Feature

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I34269d6722735dddc2f7b20d812b7e6b953fc9fd

7 years agoEnhance pcm dump, add prefix for bt routing option, use explicit route-type condition 08/120008/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172554 accepted/tizen/ivi/20170329.222742 accepted/tizen/mobile/20170329.222547 accepted/tizen/tv/20170329.222654 accepted/tizen/unified/20170329.222802 accepted/tizen/wearable/20170329.222718 submit/tizen/20170329.121135
Hyunseok Lee [Tue, 10 Jan 2017 00:57:29 +0000 (09:57 +0900)]
Enhance pcm dump, add prefix for bt routing option, use explicit route-type condition

[Version] 5.0.143
[Profile] Common
[Issue Type] Enhancement

Change-Id: Ic2b20daf32062c600b4052f4ed0bdfcd2efdd77e

7 years agoMerge branch 'tizen_3.0' into tizen 60/121060/1
Sangchul Lee [Mon, 27 Mar 2017 06:02:41 +0000 (15:02 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I10dfccceab6e57579b95d2f332d29521d273cb1c

7 years agostream-manager: Update routing path even if requested device list is empty in case... 90/120290/3 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170330.125002 accepted/tizen/3.0/ivi/20170329.223033 accepted/tizen/3.0/mobile/20170329.222934 accepted/tizen/3.0/tv/20170329.222952 accepted/tizen/3.0/wearable/20170329.223014 submit/tizen_3.0/20170329.043647
Sangchul Lee [Wed, 22 Mar 2017 07:32:49 +0000 (16:32 +0900)]
stream-manager: Update routing path even if requested device list is empty in case of manual routing type

In case of manual routing, some conditions are changed to trigger to update routing path
even if requested device list is empty that means to remove previous one with same direction.
This can be executed only if it is occupied stream.

[Version] 5.0.142
[Profile] Common
[Issue Type] Bug fix

Change-Id: I6bc5450910fb73d4b727e84946b539eaa88494b8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Skip updating focus status for solo stream during the most important... 68/120068/5
Sangchul Lee [Tue, 21 Mar 2017 08:28:26 +0000 (17:28 +0900)]
stream-manager: Skip updating focus status for solo stream during the most important stream type is occupied

This patch can avoid changing the current audio routing path
if it is important when a solo stream is coming in.

[Version] 5.0.141
[Profile] Common
[Issue Type] Defence code

Change-Id: I3d8dafe42f075aebc25401ba359d03815a05d145
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 35/119335/1
Seungbae Shin [Thu, 16 Mar 2017 10:34:04 +0000 (19:34 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I3f208ea9782cce148c98fe687be2b3d46d493bb3

7 years agostream-manager: Add conditions to skip streams that are not running and not linked 67/119267/1
Sangchul Lee [Thu, 16 Mar 2017 07:01:58 +0000 (16:01 +0900)]
stream-manager: Add conditions to skip streams that are not running and not linked

Add conditions in update_the_highest_priority_stream() to skip streams not running
and not linked. Unsetting PA_PROP_MEDIA_ROLE_PRIORITY from a stream that can cause
unwanted behavior is also removed.

[Version] 5.0.140
[Profile] Common
[Issue Type] Bug fix

Change-Id: I2eecac7d4ea358705dd4be0273b2ba7128c354ae
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Add new DBus method to update stream's focus status by using focus id 56/118756/1 accepted/tizen/3.0/common/20170320.130340 accepted/tizen/3.0/ivi/20170320.080324 accepted/tizen/3.0/mobile/20170320.074735 accepted/tizen/3.0/tv/20170320.075813 accepted/tizen/3.0/wearable/20170320.080109 submit/tizen_3.0/20170317.034449
Sangchul Lee [Tue, 14 Mar 2017 03:39:38 +0000 (12:39 +0900)]
stream-manager: Add new DBus method to update stream's focus status by using focus id

It can be invoked by other frameworks that require to update the focus status of pulseaudio stream.
Note that it is added as a part of session backward compatibility.

[Version] 5.0.139
[Profile] Common
[Issue Type] New API

Change-Id: I3d83dbf4626e0eda541dfdfc4bb52b9a87f8ae5a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Exclude bt-a2dp among available devices of incoming stream during... 60/118560/9
Sangchul Lee [Mon, 13 Mar 2017 06:40:03 +0000 (15:40 +0900)]
stream-manager: Exclude bt-a2dp among available devices of incoming stream during communication stream is activated

If bt-sco is used by communication stream, other streams can not go with bt-a2dp due to the limitation of bluetooth.
We exclude bt-a2dp device type from available devices of a stream, therefore the stream can be mixed together
by using another device.

[Version] 5.0.138
[Profile] Common
[Issue Type] Exception

Change-Id: I809cf50a7d8c283e5a82b2894f8f2ca70ff0ab4d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Update active device information to streams which will go through... 15/118315/1
Sangchul Lee [Fri, 10 Mar 2017 03:42:21 +0000 (12:42 +0900)]
stream-manager: Update active device information to streams which will go through the newly connected external device

[Version] 5.0.137
[Profile] Common
[Issue Type] Bug fix

Change-Id: I6e0108de96dd78ff973d67b8fd5dee491ce3e0dc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 14/116914/1 accepted/tizen/common/20170303.090732 accepted/tizen/ivi/20170303.004805 accepted/tizen/mobile/20170303.004718 accepted/tizen/tv/20170303.004740 accepted/tizen/unified/20170309.033450 accepted/tizen/wearable/20170303.004750 submit/tizen/20170302.115149 submit/tizen_unified/20170308.100408
Seungbae Shin [Thu, 2 Mar 2017 03:48:23 +0000 (12:48 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Icdaf25d45bef58787e18607ab38a29ba49701c57

7 years agostream-manager: Revise decision condition which stream should be muted 87/116087/4 accepted/tizen/3.0/common/20170302.075700 accepted/tizen/3.0/ivi/20170302.034035 accepted/tizen/3.0/mobile/20170302.033917 accepted/tizen/3.0/tv/20170302.033954 accepted/tizen/3.0/wearable/20170302.034014 submit/tizen_3.0/20170223.055304 submit/tizen_3.0/20170228.000412
Sangchul Lee [Thu, 23 Feb 2017 00:27:27 +0000 (09:27 +0900)]
stream-manager: Revise decision condition which stream should be muted

If a stream that has an active device type same as the current disconnecting device type, it'll be choosen for muting/unmuting target.

[Version] 5.0.136
[Profile] Common
[Issue Type] Bug fix

Change-Id: I8f686206217f8cafbdf706a6d2904faec1d03bc1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Revise implemenation of handle_get_current_volume_type() 35/115635/4
Sangchul Lee [Fri, 17 Feb 2017 09:48:33 +0000 (18:48 +0900)]
stream-manager: Revise implemenation of handle_get_current_volume_type()

[Version] 5.0.135
[Profile] Common
[Issue Type] Bug fix

Change-Id: I37c1d5311882b6efafd02b4933073ffbc49ae549
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Mute streams only belong to the disconnected device 07/115307/2
Sangchul Lee [Fri, 17 Feb 2017 08:43:48 +0000 (17:43 +0900)]
stream-manager: Mute streams only belong to the disconnected device

[Version] 5.0.134
[Profile] Common
[Issue Type] Bug fix

Change-Id: Ied92ed02e515c99778fd10504876189f66b3dcc7
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 22/114322/1 accepted/tizen/common/20170214.173955 accepted/tizen/ivi/20170214.230412 accepted/tizen/mobile/20170214.230345 accepted/tizen/tv/20170214.230353 accepted/tizen/wearable/20170214.230403 submit/tizen/20170214.125635
Seungbae Shin [Mon, 13 Feb 2017 04:12:28 +0000 (13:12 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ie1fcaec67fbf69719738a564e2b632fdb1ab7762

7 years agostream-manager: Include ringbacktone-call stream role to ROLE_COMMUNICATION 96/114196/1
Sangchul Lee [Fri, 10 Feb 2017 08:30:11 +0000 (17:30 +0900)]
stream-manager: Include ringbacktone-call stream role to ROLE_COMMUNICATION

[Version] 5.0.133
[Profile] Common
[Issue Type] Policy

Change-Id: Ia7d2d3776476287246e01e1bd835f871be2bd1b6
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Check null value 43/114143/2 accepted/tizen/3.0/common/20170213.160814 accepted/tizen/3.0/ivi/20170213.035333 accepted/tizen/3.0/mobile/20170213.035208 accepted/tizen/3.0/tv/20170213.035254 accepted/tizen/3.0/wearable/20170213.035319 submit/tizen_3.0/20170210.094941
howon kim [Fri, 10 Feb 2017 07:00:30 +0000 (16:00 +0900)]
stream-manager: Check null value

[Version] 5.0.132
[Profile] Common
[Issue Type] Bug fix

Change-Id: If4968335d0af6655f8fcd25e57806835a7d38377
Signed-off-by: howon kim <howon.kim@samsung.com>
7 years agostream-manager: Fix wrong stream type when calling set_volume_mute_by_idx() 86/114086/2
Sangchul Lee [Fri, 10 Feb 2017 02:44:18 +0000 (11:44 +0900)]
stream-manager: Fix wrong stream type when calling set_volume_mute_by_idx()

[Version] 5.0.131
[Profile] Common
[Issue Type] Bug fix

Change-Id: I30f6a5a53c267a678ddda3c3399ec20d535dfe4f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoCheck new data ptr 71/114071/1
eonseok.lee [Fri, 10 Feb 2017 01:59:31 +0000 (10:59 +0900)]
Check new data ptr

[Model] tizen3.0
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] need to check input parameter
[Cause & Measure] add pa_assert
[Checking Method] N/A

[Team] MMFW
[Developer] eonseok.lee
[Solution company] Samsung
[Change Type] N/A

Change-Id: Id187f5b2d31c35536059c0acb0a588acfaf427ee

7 years agoFix SVACE defects 50/113950/1
Seungbae Shin [Thu, 9 Feb 2017 10:32:06 +0000 (19:32 +0900)]
Fix SVACE defects

[Version] 5.0.130
[Profile] Common
[Issue Type] Security

Change-Id: Ie5d6760f1fc27b07fb3e82a6a1586841267feb3e

7 years agoMerge branch 'tizen_3.0' into tizen 12/112712/1 accepted/tizen/common/20170203.161614 accepted/tizen/ivi/20170203.023101 accepted/tizen/mobile/20170203.023002 accepted/tizen/tv/20170203.023032 accepted/tizen/wearable/20170203.023048 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:43:50 +0000 (18:43 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic6a55956bff752cffb3b295748b06dc36e1dcfef

7 years agoFix sound leakage for a short time after handling power-off signal 40/112640/1 tizen_3.0_tv accepted/tizen/3.0/common/20170203.150902 accepted/tizen/3.0/ivi/20170203.090337 accepted/tizen/3.0/mobile/20170203.090125 accepted/tizen/3.0/tv/20170203.090234 accepted/tizen/3.0/wearable/20170203.090307 submit/tizen_3.0/20170202.094603
Hyunseok Lee [Thu, 2 Feb 2017 05:28:50 +0000 (14:28 +0900)]
Fix sound leakage for a short time after handling power-off signal

[Version] 5.0.129
[Profile] Common
[Issue Type] Bug

Change-Id: I5c38ef8bded06fc93b3c2be9f86b558f806cdf9b

7 years agoFix invalid power-off operation by parsing state value properly 80/111880/2 accepted/tizen/3.0/common/20170125.121747 accepted/tizen/3.0/ivi/20170125.083959 accepted/tizen/3.0/mobile/20170125.083859 accepted/tizen/3.0/tv/20170125.083926 accepted/tizen/3.0/wearable/20170125.083948 submit/tizen_3.0/20170124.120400
Seungbae Shin [Tue, 24 Jan 2017 11:45:13 +0000 (20:45 +0900)]
Fix invalid power-off operation by parsing state value properly

[Version] 5.0.128
[Profile] Common
[Issue Type] Bug

Change-Id: Ieb7ab369483e66971fb7ae19b1b063e2bb1274ed

7 years agostream-manager: A stream of manual route type should acquire focus to ensure its... 32/110832/1 accepted/tizen/common/20170123.182445 accepted/tizen/ivi/20170125.085024 accepted/tizen/mobile/20170125.084910 accepted/tizen/tv/20170125.084931 accepted/tizen/wearable/20170125.084956 submit/tizen/20170123.131118
Sangchul Lee [Tue, 17 Jan 2017 08:00:25 +0000 (17:00 +0900)]
stream-manager: A stream of manual route type should acquire focus to ensure its own routing path

Previously, a stream of manual route type takes priority over streams of other route type even if they have focus.
Now it is changed that the manual route type stream should get focus to ensure its routing path.

[Version] 5.0.127
[Profile] Common
[Issue Type] Feature enhancement

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

7 years agostream-manager: A stream of manual route type should acquire focus to ensure its... 27/110627/4 accepted/tizen/3.0/common/20170120.102420 accepted/tizen/3.0/ivi/20170120.073218 accepted/tizen/3.0/mobile/20170120.073131 accepted/tizen/3.0/tv/20170120.073143 accepted/tizen/3.0/wearable/20170120.073203 submit/tizen_3.0/20170120.012439
Sangchul Lee [Tue, 17 Jan 2017 08:00:25 +0000 (17:00 +0900)]
stream-manager: A stream of manual route type should acquire focus to ensure its own routing path

Previously, a stream of manual route type takes priority over streams of other route type even if they have focus.
Now it is changed that the manual route type stream should get focus to ensure its routing path.

[Version] 5.0.127
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Ib03469019e95b1938a99b9ec64049096c9982755
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agostream-manager: Check streams including requesting one to update the next highest... 06/110806/1
Sangchul Lee [Tue, 17 Jan 2017 04:35:50 +0000 (13:35 +0900)]
stream-manager: Check streams including requesting one to update the next highest priority stream in case of focus status updated

[Version] 5.0.126
[Profile] Common
[Issue Type] Bug fix

Change-Id: I1988c47fdfee09a64f177095a5bc3066b2c20358
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 177df11921da7310328f5f8202866984c64a57e2)

7 years agostream-manager: Check streams including requesting one to update the next highest... 61/110561/1
Sangchul Lee [Tue, 17 Jan 2017 04:35:50 +0000 (13:35 +0900)]
stream-manager: Check streams including requesting one to update the next highest priority stream in case of focus status updated

[Version] 5.0.126
[Profile] Common
[Issue Type] Bug fix

Change-Id: I1988c47fdfee09a64f177095a5bc3066b2c20358
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 82/110382/1
Seungbae Shin [Mon, 16 Jan 2017 07:34:15 +0000 (16:34 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ic0e9d773162a5a286fb731f38247367a88ed1016

7 years agostream-manager: Further modification to enhance codes regarding add/remove volume... 06/110206/4 accepted/tizen/3.0/common/20170118.130833 accepted/tizen/3.0/ivi/20170118.042802 accepted/tizen/3.0/mobile/20170118.042716 accepted/tizen/3.0/tv/20170118.042725 accepted/tizen/3.0/wearable/20170118.042742 submit/tizen_3.0/20170116.094232
Sangchul Lee [Fri, 13 Jan 2017 07:50:11 +0000 (16:50 +0900)]
stream-manager: Further modification to enhance codes regarding add/remove volume factor to streams

Excluded streams of auto-all and manual-ext type from the policy due to no need to be handled.
Timed mannaer adopted to remove volume factor forcedly.

[Version] 5.0.125
[Profile] Common
[Issue Type] Feature enhancement

Change-Id: Id87c58f91f25d3cb8c14de8a0342b4801f51ce2e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoUse pa_safe_streq instead of pa_streq in subscribe-observer 73/109973/1 accepted/tizen/3.0/common/20170116.122205 accepted/tizen/3.0/ivi/20170116.064848 accepted/tizen/3.0/mobile/20170116.064735 accepted/tizen/3.0/tv/20170116.064759 accepted/tizen/3.0/wearable/20170116.064824 submit/tizen_3.0/20170112.101943 submit/tizen_3.0/20170113.075529
Seungbae Shin [Thu, 12 Jan 2017 10:16:53 +0000 (19:16 +0900)]
Use pa_safe_streq instead of pa_streq in subscribe-observer

[Version] 5.0.124
[Profile] Common
[Issue Type] SVACE

Change-Id: Idab8b9861331562a3fd77b00f8841fdbc70bc2ed

7 years agodevice-manager: Add API for unload sink/source with device_string 59/109759/5
Jeongho Mok [Tue, 10 Jan 2017 03:44:56 +0000 (12:44 +0900)]
device-manager: Add API for unload sink/source with device_string

[Version] 5.0.124
[Profile] Common
[Issue Type] Bug

Change-Id: I31d6779c88d21ffbe86b2ebb913feaecfee0175d

7 years agostream-manager: Enhance codes regarding add/remove volume factor to streams in case... 17/109917/3
Sangchul Lee [Thu, 12 Jan 2017 07:30:18 +0000 (16:30 +0900)]
stream-manager: Enhance codes regarding add/remove volume factor to streams in case of device disconnection

[Version] 5.0.124
[Profile] Common
[Issue Type] Error tolerance

Change-Id: Ib557d33081a57e68dca9ffdf1fe07c3dc9cc3637
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 80/109180/1 accepted/tizen/common/20170109.202638 accepted/tizen/ivi/20170110.080656 accepted/tizen/mobile/20170110.080537 accepted/tizen/tv/20170110.080614 accepted/tizen/wearable/20170110.080636 submit/tizen/20170109.130136
Seungbae Shin [Mon, 9 Jan 2017 06:36:42 +0000 (15:36 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id6c98c2ff8c462d7ab06140e880d2ed50e2cdc7f

7 years agostream-manager: Fix bug in source-output hooks 63/109163/2
Hyunseok Lee [Mon, 9 Jan 2017 05:40:45 +0000 (14:40 +0900)]
stream-manager: Fix bug in source-output hooks

[Version] 5.0.123
[Profile] Common
[Issue Type] Bug

Change-Id: I35289a5bdf604f0d2b41de9ad951d9de0ed81329

7 years agoMerge branch 'tizen_3.0' into tizen 87/108887/1
Seungbae Shin [Fri, 6 Jan 2017 06:30:03 +0000 (15:30 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I1a3a94da73419b7d01aae8c5dc185e0861a328a4

7 years agoGet BT SCO device for call-video stream 05/108405/4 accepted/tizen/3.0/common/20170109.195800 accepted/tizen/3.0/ivi/20170109.003425 accepted/tizen/3.0/mobile/20170109.003332 accepted/tizen/3.0/tv/20170109.003359 accepted/tizen/3.0/wearable/20170109.003409 submit/tizen_3.0/20170106.062231
Hyunseok Lee [Wed, 4 Jan 2017 07:57:07 +0000 (16:57 +0900)]
Get BT SCO device for call-video stream

[Version] 5.0.122
[Profile] Common
[Issue Type] Bug

Change-Id: Ica5d3c3534c192b0bd0cca07e6d9babc9bdf2249

7 years agoEnable to use prebuf configuration as -1. 58/108458/3
KimJeongYeon [Thu, 8 Dec 2016 01:39:11 +0000 (10:39 +0900)]
Enable to use prebuf configuration as -1.

[Version] 5.0.121
[Profile] Common
[Issue Type] Improves

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ia70798290f7ca6d07f61986b5d28e5c72ba2aae5

7 years agodevice-manager: Fix bug when load sink, and add unload_sink API 03/108403/5
Jeongho Mok [Tue, 3 Jan 2017 04:17:05 +0000 (13:17 +0900)]
device-manager: Fix bug when load sink, and add unload_sink API

[Version] 5.0.120
[Profile] Common
[Issue Type] Clean Up

Change-Id: I1c2ea08c8d71b9e38f1df0dbdbf8e4e0300392ad

7 years agostream-manager: Set focus state to acquired forcedly in case of solo series stream 58/108358/2
Sangchul Lee [Wed, 4 Jan 2017 05:57:03 +0000 (14:57 +0900)]
stream-manager: Set focus state to acquired forcedly in case of solo series stream

Stream roles like solo are important to secure their own routing path even though
they do not acquire a focus. This patch updates focus state forcedly in this case.

[Version] 5.0.119
[Profile] Common
[Issue Type] Feature Enhancement

Change-Id: I30c677e8eeec5cd8471b5bba33582def78e07688
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 64/107664/1 accepted/tizen/common/20161229.140259 accepted/tizen/ivi/20161229.233616 accepted/tizen/mobile/20161229.233515 accepted/tizen/tv/20161229.233534 accepted/tizen/wearable/20161229.233556 submit/tizen/20161229.100658
Seungbae Shin [Thu, 29 Dec 2016 06:13:36 +0000 (15:13 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6a228140822f744b6d681cff66797d5c435802bf

7 years agoRemove unused sink/source state hook slots 28/107628/1
Hyunseok Lee [Thu, 29 Dec 2016 02:27:54 +0000 (11:27 +0900)]
Remove unused sink/source state hook slots

[Version] 5.0.118
[Profile] Common
[Issue Type] Clean Up

Change-Id: I8b79b8c68e990935116c5919876c227f873f55f4

7 years agoFix undefined symbol error 23/107523/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125428 accepted/tizen/3.0.m2/tv/20170104.125640 accepted/tizen/3.0.m2/wearable/20170104.125902 accepted/tizen/3.0/common/20161229.113001 accepted/tizen/3.0/ivi/20161229.055241 accepted/tizen/3.0/mobile/20161229.055148 accepted/tizen/3.0/tv/20161229.055206 accepted/tizen/3.0/wearable/20161229.055226 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161228.102000
Seungbae Shin [Wed, 28 Dec 2016 10:17:43 +0000 (19:17 +0900)]
Fix undefined symbol error

[Version] 0.10.117
[Profile] Common
[Issue Type] bug

Change-Id: I131f523f8d1b1f4448bc4a1b1495450ea83a86b7

7 years agoFix SVACE defect 01/107501/1 accepted/tizen/3.0/common/20161228.162150 accepted/tizen/3.0/ivi/20161228.091222 accepted/tizen/3.0/mobile/20161228.091124 accepted/tizen/3.0/tv/20161228.091139 accepted/tizen/3.0/wearable/20161228.091201 submit/tizen_3.0/20161227.051124
Seungbae Shin [Wed, 28 Dec 2016 08:49:42 +0000 (17:49 +0900)]
Fix SVACE defect

[Version] 0.10.116
[Profile] Common
[Issue Type] SVACE

Change-Id: I2bb5fdc9d27743b4d60efae5f82181fb776c10c5

7 years agoGet both-direction device when mask is both 89/107489/1
Jeongho Mok [Wed, 28 Dec 2016 07:52:24 +0000 (16:52 +0900)]
Get both-direction device when mask is both

[Version] 0.10.115
[Profile] Common
[Issue Type] bug fix

Change-Id: I5fb000a01590619d402c361badbf10670095f249

7 years agoMerge branch 'tizen_3.0' into tizen 58/107258/1
Seungbae Shin [Tue, 27 Dec 2016 08:50:42 +0000 (17:50 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iaa1eedd95ef048e659203c18fbc4f45ac9ad3ab5

7 years agostream-manager: Fix a memory leak 55/107255/1
Jungsup Lee [Tue, 27 Dec 2016 04:28:18 +0000 (13:28 +0900)]
stream-manager: Fix a memory leak

[Version] 5.0.114
[Profile] Common
[Issue Type] bug fix

Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Change-Id: Ic25c20af5c2dda0e29e9296bcb60413dd6a09fb1

7 years agouse latest device for routing for last-connected route-type 95/106895/4 accepted/tizen/3.0/common/20161227.102159 accepted/tizen/3.0/ivi/20161227.011026 accepted/tizen/3.0/mobile/20161227.010933 accepted/tizen/3.0/tv/20161227.010946 accepted/tizen/3.0/wearable/20161227.011005 submit/tizen_3.0/20161226.105243
Seungbae Shin [Fri, 23 Dec 2016 11:45:26 +0000 (20:45 +0900)]
use latest device for routing for last-connected route-type

[Version] 5.0.113
[Profile] Common
[Issue Type] PLM

Change-Id: Id48c7a2b00a1b3b54ac0524b19177aa1b65fee3d

7 years agotizenaudio-policy: Remove unnecessary codes 40/107040/1
Sangchul Lee [Mon, 26 Dec 2016 07:46:45 +0000 (16:46 +0900)]
tizenaudio-policy: Remove unnecessary codes

[Version] 5.0.113
[Profile] Common
[Issue Type] bug fix

Change-Id: I2a30bbec57860ebdb4a5b749255ffed2d5e10a64

7 years agoRemove unused variable 15/106815/2
Jeongho Mok [Fri, 23 Dec 2016 06:56:51 +0000 (15:56 +0900)]
Remove unused variable

[Version] 5.0.112
[Profile] Common
[Issue Type] Warning

Change-Id: I8fda235ee4854f0c777d8a607a5227329c8c95bb

7 years agoMerge branch 'tizen_3.0' into tizen 86/106786/1 accepted/tizen/common/20161227.192031 accepted/tizen/ivi/20161226.012632 accepted/tizen/mobile/20161226.012541 accepted/tizen/tv/20161226.012604 accepted/tizen/wearable/20161226.012613 submit/tizen/20161223.120533
Seungbae Shin [Fri, 23 Dec 2016 05:09:34 +0000 (14:09 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I1ffc8f0a0100de8efa72f3cda57c288b89a40d8a