Add new APIs to get device state 56/166456/9 accepted/tizen/unified/20180420.081826 submit/tizen/20180410.020028 submit/tizen/20180418.012430 submit/tizen/20180419.061800
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 26 Sep 2017 01:45:38 +0000 (10:45 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 19 Feb 2018 07:52:23 +0000 (16:52 +0900)
commit82fad1f29f72dd075adf7dbe84f0bb1f354161b2
treea09d4ec2c5d7fa272a50fb73f0a3ea706c4c9e0a
parent64ec0b4e5fb44d4dc1a73026d0dc452e88e81dfe
Add new APIs to get device state

The running state of a device represents whether an audio stream is routed
to the device or not. User can notice the state by using these new APIs.

 - sound_manager_is_device_running()
 - sound_manager_add_device_running_changed_cb()
 - sound_manager_remove_device_running_changed_cb()

[Version] 0.5.2
[Issue Type] New feature

Change-Id: I2f31356058b4402e5d0814c0bbe994cfd7b21286
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/sound_manager.h
packaging/capi-media-sound-manager.spec
src/sound_manager.c
test/sound_manager_test.c