Add support for device running changed callback 31/158131/5
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 27 Sep 2017 02:51:46 +0000 (11:51 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 6 Nov 2017 08:22:17 +0000 (17:22 +0900)
commit65f128f3c00d4a169e4c1f762a1b9c5a04982f1b
tree27a537fb8ecd0a332e4123115f97ba079be33ccf
parent20f3f1f440b7b4c130bc7a5dc3e9967873971a9e
Add support for device running changed callback

 - mm_sound_add_device_running_changed_callback()
 - mm_sound_remove_device_running_changed_callback()
 - mm_sound_is_device_running()

Functions for change of running state are added. Previous device functions
including callback could not represent a device state related to its audio streams.
Now, these new APIs provide functionality regarding the 'running' state based on
the fundamental rule of that a device will be changed to 'running' only if
any stream go through the device.

[Version] 0.12.1
[Issue Type] New APIs

Change-Id: I79c164f706a5903cd2c6c76902d69c11a55ddbc3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
common/mm_sound_dbus.c
include/mm_sound.h
include/mm_sound_client.h
include/mm_sound_device.h
include/mm_sound_intf.h
include/mm_sound_proxy.h
mm_sound_client.c
mm_sound_device.c
mm_sound_proxy.c
packaging/libmm-sound.spec