stream-manager-dbus: Add new DBus methods to set/get volume rate 36/203336/2
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 5 Apr 2019 05:18:05 +0000 (14:18 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 12 Apr 2019 02:49:43 +0000 (11:49 +0900)
commit5c4fea2100d90600bcecc53458948069b9b4ac01
tree1b44742b87750a7c785248fedaadcfec26305a38
parent424f79c7fef19d69db4e35cc7be1ae55ab5ea507
stream-manager-dbus: Add new DBus methods to set/get volume rate

  server          : org.pulseaudio.Server
  object path     : /org/pulseaudio/StreamManager
  interface       : org.pulseaudio.StreamManager

  method name     : SetVolumeRate
  method argument : string for direction ('in' or 'out')
                    unsigned int for stream index
                    double for rate (0.0 ~ 1.0)
  return value    : string for return message
                    - success          : "STREAM_MANAGER_RETURN_OK"
                    - no match found   : "STREAM_MANAGER_RETURN_ERROR_NO_STREAM"
                    - internal error   : "STREAM_MANAGER_RETURN_ERROR_INTERNAL"

  method name     : GetVolumeRate
  method argument : string for direction ('in' or 'out')
                    unsigned int for stream index
  return value    : double for rate (0.0 ~ 1.0)
                    string for return message
                    - success          : "STREAM_MANAGER_RETURN_OK"
                    - no match found   : "STREAM_MANAGER_RETURN_ERROR_NO_STREAM"

[Version] 11.1.40
[Issue type] New feature

Change-Id: I8a5b3ce87af5851c208df3a4ffa39ab6c8949a09
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/stream-manager-dbus-priv.h
src/stream-manager-dbus.c
src/stream-manager-volume-priv.h
src/stream-manager-volume.c